Lock game an position file during writing
[xboard.git] / xboard.c
index a2746e8..e9c4347 100644 (file)
--- a/xboard.c
+++ b/xboard.c
@@ -6764,6 +6764,8 @@ void DisplayMessage(message, extMessage)
        };
     };
 
+    safeStrCpy(lastMsg, message, MSG_SIZ); // [HGM] make available
+
   /* need to test if messageWidget already exists, since this function
      can also be called during the startup, if for example a Xresource
      is not set up correctly */