diff options
-rw-r--r-- | src/Text.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2508,7 +2508,7 @@ _XawTextSetSelection(TextWidget ctx, XawTextPosition l, XawTextPosition r, if (nelems == 1 && !strcmp (list[0], "none")) return; if (nelems == 0) { - String defaultSel = "PRIMARY"; + static String defaultSel = "PRIMARY"; list = &defaultSel; nelems = 1; } |