1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-03 20:34:14 +01:00

- fixed problem with WINGs based apps exiting with a "X_RotateProperties"

related error when text was selected in a textfiled (this included
  WPrefs.app and Window Maker itself).
- replaced some malloc's with wmalloc's
This commit is contained in:
dan
2001-05-19 23:07:10 +00:00
parent 60611fbd47
commit 128403b487
12 changed files with 130 additions and 65 deletions

View File

@@ -36,8 +36,8 @@ char *ProgName;
char*
defaultsPathForDomain(char *domain)
{
char path[1024];
char *gspath, *tmp;
static char path[1024];
char *gspath;
gspath = getenv("GNUSTEP_USER_ROOT");
if (gspath) {
@@ -59,10 +59,7 @@ defaultsPathForDomain(char *domain)
strcat(path, "/");
strcat(path, domain);
tmp = malloc(strlen(path)+2);
strcpy(tmp, path);
return tmp;
return path;
}