1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Revert "getstyle: Remove dead code"

This reverts commit e06b3005e8.
This commit is contained in:
Carlos R. Mafra
2012-02-02 23:47:54 +00:00
parent f6b7cb39b9
commit 85b4dba721

View File

@@ -401,7 +401,11 @@ int main(int argc, char **argv)
WMWritePropListToFile(style, path); WMWritePropListToFile(style, path);
wfree(path); wfree(path);
} else { } else {
puts(WMGetPropListDescription(style, True)); if (style_file) {
WMWritePropListToFile(style, style_file);
} else {
puts(WMGetPropListDescription(style, True));
}
} }
return 0; return 0;
} }