diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-10-31 20:17:59 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-10-31 20:17:59 +0000 |
commit | 1eaf7ae9d7ff2adf3249176c155ae66dea08ecc3 (patch) | |
tree | d020778c6956a535dd35a4626b7857b36b775c20 /app/xsm/popup.c | |
parent | 0aea447cde00cd16718571f752213425ba2b2d23 (diff) |
Update to xsm 1.0.2
Diffstat (limited to 'app/xsm/popup.c')
-rw-r--r-- | app/xsm/popup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/xsm/popup.c b/app/xsm/popup.c index e03ac8804..5c0ef971a 100644 --- a/app/xsm/popup.c +++ b/app/xsm/popup.c @@ -88,7 +88,7 @@ PopupPopup(Widget parent, Widget popup, Bool transient, Bool first_time, } else { - sprintf (geom, "+%d+%d", popup_x, popup_y); + snprintf (geom, sizeof(geom), "+%d+%d", popup_x, popup_y); XtVaSetValues (popup, XtNgeometry, geom, @@ -160,7 +160,7 @@ PopupPopup(Widget parent, Widget popup, Bool transient, Bool first_time, XtUnrealizeWidget (popup); - sprintf (geom, "+%d+%d", popup_x, popup_y); + snprintf (geom, sizeof(geom), "+%d+%d", popup_x, popup_y); XtVaSetValues (popup, XtNgeometry, geom, |