Issue a note when "bsave" is aborted because of missing filename.
[gnushogi.git] / gnushogi / commondsp.c
index 14fd387..bcd84e1 100644 (file)
@@ -1039,8 +1039,10 @@ BookSave(void)
         RequestInputString(fname, sizeof(fname)-1);
     }
 
-    if (fname[0] == '\0')
+    if (fname[0] == '\0') {
+        dsp->AlwaysShowMessage("aborting book save");
         return;
+    }
 
     if ((fd = fopen(fname, "a")) != NULL)
     {