diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-15 18:41:52 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-03-01 15:19:13 +0100 |
commit | 0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8 (patch) | |
tree | 00a7164ebcce24a946e0c9501d2bfde2622069da /nx-X11/lib/X11/lcDB.c | |
parent | f22e873e6f141b98bfc57a5443c11a9d6b8645c3 (diff) | |
download | nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.tar.gz nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.tar.bz2 nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.zip |
drop platform support: unifdef __UNIXOS2__.
Fixes ArcticaProject/nx-libs#271.
Diffstat (limited to 'nx-X11/lib/X11/lcDB.c')
-rw-r--r-- | nx-X11/lib/X11/lcDB.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/nx-X11/lib/X11/lcDB.c b/nx-X11/lib/X11/lcDB.c index 1111ec955..cc14bed72 100644 --- a/nx-X11/lib/X11/lcDB.c +++ b/nx-X11/lib/X11/lcDB.c @@ -344,15 +344,6 @@ read_line( cur += len; str[cur] = '\0'; -#ifdef __UNIXOS2__ /* Take out carriage returns under OS/2 */ - if (cur>1) { - if (str[cur-2] == '\r' && str[cur-1] == '\n') { - str[cur-2] = '\n'; - str[cur-1] = '\0'; - cur--; - } - } -#endif if (!quoted && cur > 1 && str[cur - 2] == SYM_BACKSLASH && (str[cur - 1] == SYM_NEWLINE || str[cur-1] == SYM_CR)) { /* the line is ended backslash followed by newline. @@ -1286,11 +1277,7 @@ _XlcCreateLocaleDataBase( if (name == NULL) return (XPointer)NULL; -#ifndef __UNIXOS2__ name_q = XrmStringToQuark(name); -#else - name_q = XrmStringToQuark((char*)__XOS2RedirRoot(name)); -#endif for (list = _db_list; list; list = list->next) { if (name_q == list->name_q) { list->ref_count++; |