scsh-checkins
[Top] [All Lists]

[Scsh-checkins] CVS: scx/c/xlib colormap.c,1.6,1.7

To: scsh-checkins@lists.sourceforge.net
Subject: [Scsh-checkins] CVS: scx/c/xlib colormap.c,1.6,1.7
From: David Frese <frese@users.sourceforge.net>
Date: Wed, 29 Aug 2001 07:54:28 -0700
List-id: <scsh-checkins.lists.sourceforge.net>
Sender: scsh-checkins-admin@lists.sourceforge.net
Update of /cvsroot/scsh/scx/c/xlib
In directory usw-pr-cvs1:/tmp/cvs-serv5112

Modified Files:
        colormap.c 
Log Message:
fixed some typos.


Index: colormap.c
===================================================================
RCS file: /cvsroot/scsh/scx/c/xlib/colormap.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** colormap.c  2001/08/22 14:51:06     1.6
--- colormap.c  2001/08/29 14:54:26     1.7
***************
*** 46,57 ****
  
  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;
  }
  
--- 46,57 ----
  
  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;
  }
  
***************
*** 60,63 ****
    S48_EXPORT_FUNCTION(scx_Alloc_Color);
    S48_EXPORT_FUNCTION(scx_Alloc_Named_Color);
!   S48_EXPORT_FUNKTION(scx_Parse_Color);
  }
--- 60,63 ----
    S48_EXPORT_FUNCTION(scx_Alloc_Color);
    S48_EXPORT_FUNCTION(scx_Alloc_Named_Color);
!   S48_EXPORT_FUNCTION(scx_Parse_Color);
  }



<Prev in Thread] Current Thread [Next in Thread>
  • [Scsh-checkins] CVS: scx/c/xlib colormap.c,1.6,1.7, David Frese <=