ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/xdefaults.C
(Generate patch)

Comparing rxvt-unicode/src/xdefaults.C (file contents):
Revision 1.3 by pcg, Tue Nov 25 11:52:42 2003 UTC vs.
Revision 1.4 by pcg, Wed Dec 17 09:00:35 2003 UTC

1/*--------------------------------*-C-*---------------------------------* 1/*--------------------------------*-C-*---------------------------------*
2 * File: xdefaults.c 2 * File: xdefaults.c
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * $Id: xdefaults.C,v 1.3 2003/11/25 11:52:42 pcg Exp $ 4 * $Id: xdefaults.C,v 1.4 2003/12/17 09:00:35 pcg Exp $
5 * 5 *
6 * All portions of code are copyright by their respective author/s. 6 * All portions of code are copyright by their respective author/s.
7 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> 7 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com>
8 * - original version 8 * - original version
9 * Copyright (c) 1997,1998 mj olesen <olesen@me.queensu.ca> 9 * Copyright (c) 1997,1998 mj olesen <olesen@me.queensu.ca>
681 for (entry = 0; entry < optList_size(); entry++) { 681 for (entry = 0; entry < optList_size(); entry++) {
682 const char *kw = optList[entry].kw; 682 const char *kw = optList[entry].kw;
683 683
684 if (kw == NULL) 684 if (kw == NULL)
685 continue; 685 continue;
686 n = STRLEN(kw); 686 n = STRLEN (kw);
687 if (str[n] == ':' && rxvt_Str_match(str, kw)) { 687 if (str[n] == ':' && rxvt_Str_match(str, kw)) {
688 /* skip `keyword:' */ 688 /* skip `keyword:' */
689 str += (n + 1); 689 str += (n + 1);
690 rxvt_Str_trim(str); 690 rxvt_Str_trim(str);
691 n = STRLEN(str); 691 n = STRLEN(str);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines