Increase updater ui maximum text length to 400 to fix Bug 628829 - Updater crashes when localized strings excess 200 utf-8 bytes, as bn-IN, kn, ml, and te do. r=mossop, a=LegNeato for release drivers
authorRobert Strong <robert.bugzilla@gmail.com>
Fri, 28 Jan 2011 10:43:52 -0800
changeset 34898 a84535e18534d06dce290f927707acb6d0cda3cc
parent 34897 bd974e9f527a1e993cfd5eed0a9e0c65dd56b84c
child 34899 b4529434e248b58fcd9aa17bf71731c0e953f359
push id1792
push userrstrong@mozilla.com
push dateFri, 28 Jan 2011 18:44:20 +0000
reviewersmossop, LegNeato
bugs628829
milestone1.9.2.15pre
Increase updater ui maximum text length to 400 to fix Bug 628829 - Updater crashes when localized strings excess 200 utf-8 bytes, as bn-IN, kn, ml, and te do. r=mossop, a=LegNeato for release drivers
toolkit/mozapps/update/src/updater/readstrings.h
--- a/toolkit/mozapps/update/src/updater/readstrings.h
+++ b/toolkit/mozapps/update/src/updater/readstrings.h
@@ -35,17 +35,17 @@
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 #ifndef READSTRINGS_H__
 #define READSTRINGS_H__
 
-#define MAX_TEXT_LEN 200
+#define MAX_TEXT_LEN 400
 
 #ifdef XP_WIN
 # include <windows.h>
   typedef WCHAR NS_tchar;
 #else
   typedef char NS_tchar;
 #endif