aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xlibi18n/XlcDL.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-25 12:38:10 +0000
committermarha <marha@users.sourceforge.net>2009-07-25 12:38:10 +0000
commitc87efef42f76c2ff0dcfad2842ab369beffd21de (patch)
tree0ded972bd95879c77ed8fae6c84d0657fbdba660 /libX11/src/xlibi18n/XlcDL.c
parent1dad159fe09ac3a88b21b98544880e5ecc0e8d54 (diff)
downloadvcxsrv-c87efef42f76c2ff0dcfad2842ab369beffd21de.tar.gz
vcxsrv-c87efef42f76c2ff0dcfad2842ab369beffd21de.tar.bz2
vcxsrv-c87efef42f76c2ff0dcfad2842ab369beffd21de.zip
Added libX11-1.2.2.tar.gz.
Diffstat (limited to 'libX11/src/xlibi18n/XlcDL.c')
-rw-r--r--libX11/src/xlibi18n/XlcDL.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libX11/src/xlibi18n/XlcDL.c b/libX11/src/xlibi18n/XlcDL.c
index 96a9e9535..30dee0c41 100644
--- a/libX11/src/xlibi18n/XlcDL.c
+++ b/libX11/src/xlibi18n/XlcDL.c
@@ -143,7 +143,7 @@ strdup_with_underscore(const char *symbol)
{
char *result;
- if ((result = malloc(strlen(symbol) + 2)) == NULL)
+ if ((result = malloc(strlen(symbol) + 2)) == NULL)
return NULL;
result[0] = '_';
strcpy(result + 1, symbol);
@@ -213,7 +213,7 @@ Limit the length of path to prevent stack buffer corruption.
if (!xi18n_objects_list) return;
}
n = parse_line(p, args, 6);
-
+
if (n == 3 || n == 5) {
if (!strcmp(args[0], "XLC")){
xi18n_objects_list[lc_count].type = XLC_OBJECT;
@@ -323,7 +323,7 @@ open_object(
char *lc_dir)
{
char *path;
-
+
if (object->refcount == 0) {
path = __lc_path(object->dl_name, lc_dir);
if (!path)
@@ -430,7 +430,7 @@ _XlcDynamicLoad(const char *lc_name)
if (lcd != (XLCd)NULL) {
break;
}
-
+
close_object (objects_list);
}
return (XLCd)lcd;
@@ -468,7 +468,7 @@ _XDynamicOpenIM(XLCd lcd, Display *display, XrmDatabase rdb,
if (im != (XIM)NULL) {
break;
}
-
+
close_object (objects_list);
}
return (XIM)im;
@@ -612,7 +612,7 @@ _XDynamicOpenOM(XLCd lcd, Display *display, XrmDatabase rdb,
strcmp(objects_list->locale_name, lc_name)) continue;
if (!open_object (objects_list, lc_dir))
continue;
-
+
om_openOM = (dynamicIOpenProcp)fetch_symbol(objects_list, objects_list->open);
if (!om_openOM) continue;
om = (*om_openOM)(lcd, display, rdb, res_name, res_class);