mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-17 01:35:36 -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:
parent
7530a9905a
commit
085c31e3a4
@ -534,6 +534,10 @@ static int sessioncmp(const void *av, const void *bv)
|
|||||||
return -1; /* a comes first */
|
return -1; /* a comes first */
|
||||||
if (!strcmp(b, "Default Settings"))
|
if (!strcmp(b, "Default Settings"))
|
||||||
return +1; /* b comes first */
|
return +1; /* b comes first */
|
||||||
|
/*
|
||||||
|
* FIXME: perhaps we should ignore the first & in determining
|
||||||
|
* sort order.
|
||||||
|
*/
|
||||||
return strcmp(a, b); /* otherwise, compare normally */
|
return strcmp(a, b); /* otherwise, compare normally */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user