summaryrefslogtreecommitdiff
path: root/svpopup.c
diff options
context:
space:
mode:
Diffstat (limited to 'svpopup.c')
-rw-r--r--svpopup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svpopup.c b/svpopup.c
index 8e3fe8f..b0a32c8 100644
--- a/svpopup.c
+++ b/svpopup.c
@@ -127,7 +127,7 @@ ModifySVEntry(Widget w, XEvent *event, String *params, Cardinal *num_params)
old = global_screen_data.res_text;
break;
default:
- sprintf(msg, res_labels[22]);
+ snprintf(msg, sizeof(msg), res_labels[22]);
SetMessage(global_screen_data.info_label, msg);
return;
}