From 085c31e3a4bdfdd4ecbcf830a2ed3093832c9290 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 13 Nov 2001 22:39:46 +0000 Subject: [PATCH] Modify a comment to try to remind myself that the &-in-session-names hack (to create accelerators on the System menu) should have some official status. [originally from svn r1381] --- settings.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/settings.c b/settings.c index dbd745e6..267b46d6 100644 --- a/settings.c +++ b/settings.c @@ -534,6 +534,10 @@ static int sessioncmp(const void *av, const void *bv) return -1; /* a comes first */ if (!strcmp(b, "Default Settings")) return +1; /* b comes first */ + /* + * FIXME: perhaps we should ignore the first & in determining + * sort order. + */ return strcmp(a, b); /* otherwise, compare normally */ }