From 03ef79e69d72d1bea7eb133859a06cb615902d75 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 12 Jul 2012 09:16:02 -0400 Subject: snapshot of project "lynx", label v2-8-8dev_12f --- src/LYMainLoop.c | 8 ++++---- src/LYPrint.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 #include @@ -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 #include @@ -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); -- cgit 1.4.1-2-gfad0