Changeset 601733d for functions.c
- Timestamp:
- Jul 30, 2008, 6:35:08 PM (16 years ago)
- Branches:
- master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 731dd1e
- Parents:
- bfc127b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rdd28b51 r601733d 2392 2392 return; 2393 2393 } 2394 if (owl_util_string_to_color(argv[3])== -1) {2394 if (owl_util_string_to_color(argv[3])==OWL_COLOR_INVALID) { 2395 2395 owl_function_error("The color '%s' is not available.", argv[3]); 2396 2396 return; … … 2407 2407 return; 2408 2408 } 2409 if (owl_util_string_to_color(argv[3])== -1) {2409 if (owl_util_string_to_color(argv[3])==OWL_COLOR_INVALID) { 2410 2410 owl_function_error("The color '%s' is not available.", argv[3]); 2411 2411 return; … … 2941 2941 } 2942 2942 2943 if (owl_util_string_to_color(fgcolor)== -1) {2943 if (owl_util_string_to_color(fgcolor)==OWL_COLOR_INVALID) { 2944 2944 owl_function_error("No color named '%s' avilable.", fgcolor); 2945 2945 return(-1); … … 2948 2948 2949 2949 if (bgcolor != NULL) { 2950 if (owl_util_string_to_color(bgcolor)== -1) {2950 if (owl_util_string_to_color(bgcolor)==OWL_COLOR_INVALID) { 2951 2951 owl_function_error("No color named '%s' avilable.", bgcolor); 2952 2952 return(-1);
Note: See TracChangeset
for help on using the changeset viewer.