aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-08-04 02:55:09 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-08-04 02:55:09 +0000
commit62aafb2e9b8bea445e0006a0555b8f39bcc2809b (patch)
tree182318ed94f7a6b5875433f04f45f0c105ab0a01
parentMerge branch 'feature/siteconf' (diff)
parentFix potentially segfault of execdict() (diff)
downloadw3m-62aafb2e9b8bea445e0006a0555b8f39bcc2809b.tar.gz
w3m-62aafb2e9b8bea445e0006a0555b8f39bcc2809b.zip
Merge branch 'bug/execdict'
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index f6e14a4..3012239 100644
--- a/main.c
+++ b/main.c
@@ -5683,7 +5683,7 @@ execdict(char *word)
disp_message("Execution failed", TRUE);
return;
}
- else {
+ else if (buf != NO_BUFFER) {
buf->filename = w;
buf->buffername = Sprintf("%s %s", DICTBUFFERNAME, word)->ptr;
if (buf->type == NULL)