1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 06:38:05 +01:00

create_stdcmap is never used

The create_stdcmap variable is never set, so can be removed.

This patch don't update the translation .po files!
This commit is contained in:
Rodolfo García Peñas (kix)
2012-11-18 23:07:46 +01:00
committed by Carlos R. Mafra
parent 8b6e96ab74
commit 4111f336d0
3 changed files with 2 additions and 8 deletions

View File

@@ -596,12 +596,8 @@ WScreen *wScreenInit(int screen_number)
if (rattr.colors_per_channel < 2)
rattr.colors_per_channel = 2;
/* will only be accounted for in PseudoColor */
if (wPreferences.flags.create_stdcmap) {
rattr.standard_colormap_mode = RCreateStdColormap;
} else {
rattr.standard_colormap_mode = RUseStdColormap;
}
/* Use standard colormap */
rattr.standard_colormap_mode = RUseStdColormap;
if (getWVisualID(screen_number) >= 0) {
rattr.flags |= RC_VisualID;