From 901e07f3d319bdc1c3bb2b54ed17b2041a1bd78b Mon Sep 17 00:00:00 2001 From: "silver%warwickcompsoc.co.uk" Date: Sat, 3 Sep 2005 22:47:42 +0000 Subject: [PATCH] Bug 291233 - Use numeric sort codes for userlist to fix backwards sorting in Estonian locale. ChatZilla only. r=rginda --- extensions/irc/xul/content/static.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/irc/xul/content/static.js b/extensions/irc/xul/content/static.js index 7435a869afa5..36edc8e921fc 100644 --- a/extensions/irc/xul/content/static.js +++ b/extensions/irc/xul/content/static.js @@ -4185,8 +4185,8 @@ function usr_updres() } } - // Counts up from Z to A. - var sortname = String.fromCharCode(90 - modeLevel) + "-" + this.unicodeName; + // Counts numerically down from 9. + var sortname = (9 - modeLevel) + "-" + this.unicodeName; // We want to show mode symbols, but only those we don't 'style'. if (mode && !mode.match(/^[@%+]$/))