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.155 by sf-exg, Mon Nov 28 16:09:15 2011 UTC vs.
Revision 1.157 by root, Thu Dec 1 10:50:53 2011 UTC

584 * Define key from XrmEnumerateDatabase. 584 * Define key from XrmEnumerateDatabase.
585 * quarks will be something like 585 * quarks will be something like
586 * "rxvt" "keysym" "0xFF01" 586 * "rxvt" "keysym" "0xFF01"
587 * value will be a string 587 * value will be a string
588 */ 588 */
589int 589static int
590rxvt_define_key (XrmDatabase *database ecb_unused, 590rxvt_define_key (XrmDatabase *database ecb_unused,
591 XrmBindingList bindings ecb_unused, 591 XrmBindingList bindings ecb_unused,
592 XrmQuarkList quarks, 592 XrmQuarkList quarks,
593 XrmRepresentation *type ecb_unused, 593 XrmRepresentation *type ecb_unused,
594 XrmValue *value, 594 XrmValue *value,
663 // parse modifiers 663 // parse modifiers
664 while (str < key) 664 while (str < key)
665 { 665 {
666 unsigned int i; 666 unsigned int i;
667 667
668 for (i=0; i < ecb_array_length (keysym_vocabulary); ++i) 668 for (i = 0; i < ecb_array_length (keysym_vocabulary); ++i)
669 { 669 {
670 if (strncmp (str, keysym_vocabulary [i].name, keysym_vocabulary [i].len) == 0) 670 if (strncmp (str, keysym_vocabulary [i].name, keysym_vocabulary [i].len) == 0)
671 { 671 {
672 state |= keysym_vocabulary[i].value; 672 state |= keysym_vocabulary[i].value;
673 str += keysym_vocabulary[i].len; 673 str += keysym_vocabulary[i].len;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines