1
0
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:
Carlos R. Mafra
2012-01-31 10:26:59 +00:00
parent e9d4930657
commit e1453087f5
4 changed files with 7 additions and 7 deletions

View File

@@ -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);