mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 13:54:12 +01:00
WINGs: Rename copy_file() to wcopy_file()
...in order to avoid clashes that happen during compilation of wmakerconf. This is a new function in WINGs, so renaming it at this point is not a big deal. Thanks to Rodolfo García for the heads up.
This commit is contained in:
@@ -171,7 +171,7 @@ void findCopyFile(char *dir, char *file)
|
||||
if (ThemePath)
|
||||
(void)wrmdirhier(ThemePath);
|
||||
}
|
||||
copy_file(dir, fullPath, fullPath);
|
||||
wcopy_file(dir, fullPath, fullPath);
|
||||
free(fullPath);
|
||||
}
|
||||
|
||||
@@ -227,7 +227,7 @@ void makeThemePack(WMPropList * style, char *themeName)
|
||||
|
||||
p = strrchr(WMGetFromPLString(file), '/');
|
||||
if (p) {
|
||||
copy_file(themeDir, WMGetFromPLString(file), WMGetFromPLString(file));
|
||||
wcopy_file(themeDir, WMGetFromPLString(file), WMGetFromPLString(file));
|
||||
|
||||
newPath = wstrdup(p + 1);
|
||||
WMDeleteFromPLArray(value, 1);
|
||||
@@ -246,7 +246,7 @@ void makeThemePack(WMPropList * style, char *themeName)
|
||||
|
||||
p = strrchr(WMGetFromPLString(file), '/');
|
||||
if (p) {
|
||||
copy_file(themeDir, WMGetFromPLString(file), WMGetFromPLString(file));
|
||||
wcopy_file(themeDir, WMGetFromPLString(file), WMGetFromPLString(file));
|
||||
|
||||
newPath = wstrdup(p + 1);
|
||||
WMDeleteFromPLArray(value, 1);
|
||||
@@ -260,7 +260,7 @@ void makeThemePack(WMPropList * style, char *themeName)
|
||||
|
||||
p = strrchr(WMGetFromPLString(file), '/');
|
||||
if (p) {
|
||||
copy_file(themeDir, WMGetFromPLString(file), WMGetFromPLString(file));
|
||||
wcopy_file(themeDir, WMGetFromPLString(file), WMGetFromPLString(file));
|
||||
|
||||
newPath = wstrdup(p + 1);
|
||||
WMDeleteFromPLArray(value, 2);
|
||||
|
||||
Reference in New Issue
Block a user