Changeset 948:4d9441f2d3f2 for color.c
Legend:
- Unmodified
- Added
- Removed
-
color.c
r703 r948 176 176 return (Colors[i].name); 177 177 } 178 return (Colors[0].name); 178 179 /* Sigh. If we got this far, the color is of the form 'colorN' 180 * Slang can handle this itself, so just return 'colorN' 181 */ 182 { 183 static char color [SHORT_STRING]; 184 185 snprintf (color, sizeof (color), "color%d", val); 186 return color; 187 } 179 188 } 180 189 #endif
