File: lablgtk-2.10.0.patch

package info (click to toggle)
mldonkey 2.9.5-2+lenny1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 17,064 kB
  • ctags: 27,215
  • sloc: ml: 146,054; cpp: 11,806; ansic: 7,663; sh: 4,187; asm: 3,858; xml: 3,472; makefile: 203; perl: 54
file content (10 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
--- ./src/gtkMain.ml	2007-08-17 05:24:07.000000000 +0200
+++ ./src/gtkMain.ml	2007-10-03 21:59:06.000000000 +0200
@@ -43,6 +43,7 @@
       with Error err ->
         raise (Error ("GtkMain.init: initialization failed\n" ^ err))
     in
+    if setlocale then ignore (Glib.Main.setlocale `NUMERIC (Some "C"));
     Array.blit ~src:argv ~dst:Sys.argv ~len:(Array.length argv)
       ~src_pos:0 ~dst_pos:0;
     Obj.truncate (Obj.repr Sys.argv) (Array.length argv);