Be more verbose when the buffer search commands are not successful
authorMikael Berthe <mikael@lilotux.net>
Mon, 14 Mar 2011 23:19:55 +0100
changeset 1957 e3e8fb918d56
parent 1956 f309f343070c
child 1958 2fdb75cb3725
Be more verbose when the buffer search commands are not successful
mcabber/mcabber/screen.c
--- a/mcabber/mcabber/screen.c	Mon Mar 14 23:16:11 2011 +0100
+++ b/mcabber/mcabber/screen.c	Mon Mar 14 23:19:55 2011 +0100
@@ -2885,7 +2885,7 @@
     // Finished :)
     update_panels();
   } else
-    scr_LogPrint(LPRINT_NORMAL, "Search string not found");
+    scr_LogPrint(LPRINT_NORMAL, "Search string not found.");
 }
 
 //  scr_buffer_percent(n)
@@ -2939,6 +2939,9 @@
   win_entry->bd->cleared = FALSE;
   win_entry->bd->top = search_res;
 
+  if (!search_res)
+    scr_log_print(LPRINT_NORMAL, "Date not found.");
+
   // Refresh the window
   scr_update_window(win_entry);
 
@@ -2966,6 +2969,9 @@
   win_entry->bd->cleared = FALSE;
   win_entry->bd->top = search_res;
 
+  if (!search_res)
+    scr_log_print(LPRINT_NORMAL, "Readmark not found.");
+
   // Refresh the window
   scr_update_window(win_entry);