diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2012-07-12 09:16:02 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2012-07-12 09:16:02 -0400 |
commit | 03ef79e69d72d1bea7eb133859a06cb615902d75 (patch) | |
tree | 9444af95c7e1dec93e6a11530b6120f9cee80f27 /src | |
parent | 4e59e679dc753f077bd2ab6f972b76fc16039d9e (diff) | |
download | lynx-snapshots-03ef79e69d72d1bea7eb133859a06cb615902d75.tar.gz |
snapshot of project "lynx", label v2-8-8dev_12f
Diffstat (limited to 'src')
-rw-r--r-- | src/LYMainLoop.c | 8 | ||||
-rw-r--r-- | src/LYPrint.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/LYMainLoop.c b/src/LYMainLoop.c index 8b318ef5..d1520d51 100644 --- a/src/LYMainLoop.c +++ b/src/LYMainLoop.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYMainLoop.c,v 1.209 2012/07/06 16:18:57 tom Exp $ + * $LynxId: LYMainLoop.c,v 1.210 2012/07/07 16:28:47 tom Exp $ */ #include <HTUtils.h> #include <HTAccess.h> @@ -7069,9 +7069,9 @@ int mainloop(void) follow_col = -1; CTRACE((tfp, "Handling key as %s\n", - LYKeycodeToKcmd(cmd) - ? LYKeycodeToKcmd(cmd)->name - : "unknown")); + ((LYKeycodeToKcmd((LYKeymapCode) cmd) != 0) + ? LYKeycodeToKcmd((LYKeymapCode) cmd)->name + : "unknown"))); switch (cmd) { case -1: HTUserMsg(COMMAND_UNKNOWN); diff --git a/src/LYPrint.c b/src/LYPrint.c index 1cea439f..7ba27e08 100644 --- a/src/LYPrint.c +++ b/src/LYPrint.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYPrint.c,v 1.95 2012/02/09 18:55:26 tom Exp $ + * $LynxId: LYPrint.c,v 1.96 2012/07/07 15:19:42 tom Exp $ */ #include <HTUtils.h> #include <HTAccess.h> @@ -504,7 +504,7 @@ static void send_file_to_mail(DocInfo *newdoc, } _statusline(MAIL_ADDRESS_PROMPT); - BStrCopy0(user_response, personal_mail_address); + BStrCopy0(user_response, NonNull(personal_mail_address)); if (LYgetBString(&user_response, VISIBLE, 0, RECALL_MAIL) < 0 || isBEmpty(user_response)) { CancelPrint(MAIL_REQUEST_CANCELLED); |