Bug#460714: not completely fixed in djview4 4.3-5

2008-08-04 Thread Barak A. Pearlmutter
Thanks!  Pushing your patch now.

--Barak.
--
Barak A. Pearlmutter
 Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland
 http://www.bcl.hamilton.ie/~barak/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#460714: not completely fixed in djview4 4.3-5

2008-08-04 Thread Lionel Elie Mamane
found 460714 4.3-5
tags 460714 +patch
thanks

Bug is mostly, but not completely fixed in 4.3-5. It now works with
LC_MESSAGES=en_GB.UTF-8, but it does not work with LC_MESSAGES=C or
LC_MESSAGES=POSIX.

Attached patch fixes that.

-- 
Lionel
Index: djview.cpp
===
RCS file: /cvsroot/djvu/djview/src/djview.cpp,v
retrieving revision 1.61
diff -u -r1.61 djview.cpp
--- djview.cpp  31 Jul 2008 21:54:12 -  1.61
+++ djview.cpp  4 Aug 2008 15:17:05 -
@@ -215,7 +215,7 @@
   if (! djviewTransValid && qdir.exists())
 djviewTransValid= djviewTrans->load("djview_" + lang, dir, "_.-");
 }
-  if (lang == "en" || lang.startsWith("en_")) 
+  if (lang == "en" || lang.startsWith("en_") || lang == "c")
 break;
 }
   // - install tranlators