summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 2af7ec4..e64fe30 100644
--- a/commands.c
+++ b/commands.c
@@ -187,7 +187,7 @@ DoSave(Widget w, XtPointer client_data, XtPointer call_data)
Widget source = XawTextGetSource(textwindow);
char buffer[BUFSIZ];
struct stat st;
- static char *nothing_saved = " -- nothing saved.\n";
+ static const char *nothing_saved = " -- nothing saved.\n";
if (!filename) {
XmuSnprintf(buffer, sizeof(buffer), "%s%s",