From f6d39682a310873a43b0b7c44983516ba4123909 Mon Sep 17 00:00:00 2001 From: frese Date: Wed, 29 Aug 2001 14:54:26 +0000 Subject: [PATCH] fixed some typos. --- c/xlib/colormap.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/c/xlib/colormap.c b/c/xlib/colormap.c index d30157a..4c7e887 100644 --- a/c/xlib/colormap.c +++ b/c/xlib/colormap.c @@ -45,19 +45,19 @@ s48_value scx_Alloc_Named_Color(s48_value Xcolormap, s48_value color_name, // swaped from util.c to this file s48_value scx_Parse_Color (s48_value Xdpy, s48_value cmap, s48_value spec) { - XColor ret; - - if (XParseColor (SCX_EXTRACT_DISPLAY(Xdpy), - SCX_EXTRACT_COLORMAP(cmap), - s48_extract_string(spec), - &ret)) - return scx_create_Color (ret.red, ret.green, ret.blue); - return S48_FALSE; + XColor ret; + + if (XParseColor (SCX_EXTRACT_DISPLAY(Xdpy), + SCX_EXTRACT_COLORMAP(cmap), + s48_extract_string(spec), + &ret)) + return scx_Create_Color (ret.red, ret.green, ret.blue); + return S48_FALSE; } void scx_init_colormap(void) { S48_EXPORT_FUNCTION(scx_Free_Colormap); S48_EXPORT_FUNCTION(scx_Alloc_Color); S48_EXPORT_FUNCTION(scx_Alloc_Named_Color); - S48_EXPORT_FUNKTION(scx_Parse_Color); + S48_EXPORT_FUNCTION(scx_Parse_Color); }