summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2006-09-18 22:32:33 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2006-09-18 22:32:33 +0000
commit8ca4e8544bcd8543afcca0d0af55dc00a6921cc8 (patch)
tree19d3e7e8ed4b36946383c147cdb3778e61a05358 /src/fe-common
parent9f0cd484e5a3442ee1ebb8daaf187bab87cb272f (diff)
downloadirssi-8ca4e8544bcd8543afcca0d0af55dc00a6921cc8.zip
Apply 05upgrade-check-binary.dpatch with some modifications.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4366 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-core-commands.c3
-rw-r--r--src/fe-common/core/module-formats.c1
-rw-r--r--src/fe-common/core/module-formats.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c
index 545cf027..51b68b3d 100644
--- a/src/fe-common/core/fe-core-commands.c
+++ b/src/fe-common/core/fe-core-commands.c
@@ -50,7 +50,8 @@ static int ret_texts[] = {
TXT_NOT_GOOD_IDEA,
TXT_INVALID_TIME,
TXT_INVALID_CHARSET,
- TXT_EVAL_MAX_RECURSE
+ TXT_EVAL_MAX_RECURSE,
+ TXT_PROGRAM_NOT_FOUND
};
int command_hide_output;
diff --git a/src/fe-common/core/module-formats.c b/src/fe-common/core/module-formats.c
index d9bfc48b..cae4b9a5 100644
--- a/src/fe-common/core/module-formats.c
+++ b/src/fe-common/core/module-formats.c
@@ -220,6 +220,7 @@ FORMAT_REC fecommon_core_formats[] = {
{ "invalid_size", "Invalid size", 0 },
{ "invalid_charset", "Invalid charset: $0", 1, { 0 } },
{ "eval_max_recurse", "/eval hit maximum recursion limit", 0 },
+ { "program_not_found", "Could not find file or file is not executable", 0 },
/* ---- */
{ NULL, "Themes", 0 },
diff --git a/src/fe-common/core/module-formats.h b/src/fe-common/core/module-formats.h
index 8f481aca..135378ba 100644
--- a/src/fe-common/core/module-formats.h
+++ b/src/fe-common/core/module-formats.h
@@ -189,6 +189,7 @@ enum {
TXT_INVALID_SIZE,
TXT_INVALID_CHARSET,
TXT_EVAL_MAX_RECURSE,
+ TXT_PROGRAM_NOT_FOUND,
TXT_FILL_11,