diff options
author | marha <marha@users.sourceforge.net> | 2011-09-19 13:39:03 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-19 13:39:03 +0200 |
commit | 1678a69116d1c6ce900fe15f7813613bb28416dd (patch) | |
tree | 9589536f6b4bd60b34f90cf5ed20240d40bbb38c /libXmu/src/Initer.c | |
parent | 9d911bc1246139019e555f443e934677a067bc0a (diff) | |
parent | b2c925e360e2c366526de15b44603f855f94139c (diff) | |
download | vcxsrv-1678a69116d1c6ce900fe15f7813613bb28416dd.tar.gz vcxsrv-1678a69116d1c6ce900fe15f7813613bb28416dd.tar.bz2 vcxsrv-1678a69116d1c6ce900fe15f7813613bb28416dd.zip |
Merge remote-tracking branch 'origin/released'
Conflicts:
libfontenc/src/fontenc.c
Diffstat (limited to 'libXmu/src/Initer.c')
-rw-r--r-- | libXmu/src/Initer.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libXmu/src/Initer.c b/libXmu/src/Initer.c index bd7678480..42b2cd6b3 100644 --- a/libXmu/src/Initer.c +++ b/libXmu/src/Initer.c @@ -1,5 +1,5 @@ -/* - +/* + Copyright 1988, 1989, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its @@ -40,12 +40,12 @@ struct InitializerList { XPointer data; /* Data to pass the function. */ XtAppContext * app_con_list; /* a null terminated list of app_contexts. */ }; - + /* * Prototypes */ static Bool AddToAppconList(XtAppContext**, XtAppContext); - + static struct InitializerList * init_list = NULL; static Cardinal init_list_length = 0; @@ -53,8 +53,8 @@ void XmuAddInitializer(XmuInitializerProc func, XPointer data) { init_list_length++; - init_list = (struct InitializerList *) XtRealloc( (char *) init_list, - (sizeof(struct InitializerList) * + init_list = (struct InitializerList *) XtRealloc( (char *) init_list, + (sizeof(struct InitializerList) * init_list_length) ); init_list[init_list_length - 1].function = func; @@ -111,4 +111,4 @@ AddToAppconList(XtAppContext **app_list, XtAppContext app_con) return (True); } - + |