bump product version to 4.1.6.2
[LibreOffice.git] / liblangtag / liblangtag-0.5.1-windows-do-not-prepend-dir-separator.patch
blobcc0e4abaed593ef458e3df08b51c18c1da6daba4
1 diff -ru UnpackedTarball/langtag.orig/liblangtag/lt-string.c UnpackedTarball/langtag/liblangtag/lt-string.c
2 --- UnpackedTarball/langtag.orig/liblangtag/lt-string.c 2013-04-22 10:35:07.000000000 +0200
3 +++ UnpackedTarball/langtag/liblangtag/lt-string.c 2013-04-30 18:34:14.422037274 +0200
4 @@ -308,8 +308,12 @@
5 lt_return_val_if_fail (string != NULL, NULL);
6 lt_return_val_if_fail (path != NULL, string);
8 +#ifdef _WIN32
9 + /* This simply does not work on Windows with "D:\..." */
10 +#else
11 if (lt_string_length(string) == 0 && path[0] != LT_DIR_SEPARATOR)
12 lt_string_append(string, LT_DIR_SEPARATOR_S);
13 +#endif
15 va_start(ap, path);
16 p = path;