1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-16 09:05:37 -05:00

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]
This commit is contained in:
Simon Tatham 2001-11-13 22:39:46 +00:00
parent 7530a9905a
commit 085c31e3a4

View File

@ -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 */
}