summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite/misc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/sqlite/misc.patch')
-rw-r--r--third_party/sqlite/misc.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/third_party/sqlite/misc.patch b/third_party/sqlite/misc.patch
index e2f0c55..b90eba5 100644
--- a/third_party/sqlite/misc.patch
+++ b/third_party/sqlite/misc.patch
@@ -1018,9 +1018,9 @@ Index: src/shell_icu_linux.c
Index: src/shell_icu_win.c
===================================================================
--- src/shell_icu_win.c 1969-12-31 16:00:00.000000000 -0800
-+++ src/shell_icu_win.c 2009-09-09 12:29:11.000000000 -0700
-@@ -0,0 +1,34 @@
-+/* Copyright 2007 Google Inc. All Rights Reserved.
++++ src/shell_icu_win.c 2011-03-03 14:29:11.000000000 -0700
+@@ -0,0 +1,32 @@
++/* Copyright 2011 Google Inc. All Rights Reserved.
+**/
+
+#include <windows.h>
@@ -1038,10 +1038,8 @@ Index: src/shell_icu_win.c
+ FARPROC addr;
+ UErrorCode err;
+
-+ wchar_t dll_name[12];
-+ wsprintf(dll_name, L"icudt%2S.dll", U_ICU_VERSION_SHORT);
-+ dll_name[11] = L'\0';
-+ module = LoadLibrary(dll_name);
++ // Chrome dropped U_ICU_VERSION_SHORT from the icu data dll name.
++ module = LoadLibrary(L"icudt.dll");
+ if (!module)
+ return 0;
+