… | |
… | |
956 | void |
956 | void |
957 | rxvt_term::set_colorfgbg () |
957 | rxvt_term::set_colorfgbg () |
958 | { |
958 | { |
959 | unsigned int i; |
959 | unsigned int i; |
960 | const char *xpmb = ""; |
960 | const char *xpmb = ""; |
961 | char fstr[sizeof ("default") + 1], bstr[sizeof ("default") + 1]; |
961 | char fstr[] = "default"; |
|
|
962 | char bstr[] = "default"; |
962 | |
963 | |
963 | strcpy (fstr, "default"); |
|
|
964 | strcpy (bstr, "default"); |
|
|
965 | for (i = Color_Black; i <= Color_White; i++) |
964 | for (i = Color_Black; i <= Color_White; i++) |
966 | if (pix_colors[Color_fg] == pix_colors[i]) |
965 | if (pix_colors[Color_fg] == pix_colors[i]) |
967 | { |
966 | { |
968 | sprintf (fstr, "%d", i - Color_Black); |
967 | sprintf (fstr, "%d", i - Color_Black); |
969 | break; |
968 | break; |