diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-06-11 19:16:01 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-06-11 19:16:01 +0000 |
commit | f8f894ec6dea2f382b1f038bd4dfb96d5f9722fd (patch) | |
tree | ef1ac96c0e38d8d8625ee895cbc56a2ebbd9f8ca /lib/libXaw/src/Text.c | |
parent | 407c1a914995df8cd71ab6f462934e48ddc4625b (diff) |
Update to libXaw 1.0.11.
Diffstat (limited to 'lib/libXaw/src/Text.c')
-rw-r--r-- | lib/libXaw/src/Text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libXaw/src/Text.c b/lib/libXaw/src/Text.c index 72387e919..a1ae74a6b 100644 --- a/lib/libXaw/src/Text.c +++ b/lib/libXaw/src/Text.c @@ -3146,7 +3146,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; } |