Changeset 230e8ff


Ignore:
Timestamp:
Feb 26, 2013, 2:00:47 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
acef4ad9
Parents:
76682af
git-author:
David Benjamin <davidben@mit.edu> (02/25/13 17:54:38)
git-committer:
David Benjamin <davidben@mit.edu> (02/26/13 14:00:47)
Message:
Descriptions should be empty, not NULL

It's annoying for code that assumes non-nullable string. Also we
actually hit a g_return_val_if_fail via g_string_append when
owl_variable_get_description is NULL.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

    r6a8b519 r230e8ff  
    162162  OWLVAR_BOOL_FULL( "colorztext" /* %OwlVarStub */, 1,
    163163                    "allow @color() in zephyrs to change color",
    164                     NULL, NULL, owl_variable_colorztext_set, NULL);
     164                    "", NULL, owl_variable_colorztext_set, NULL);
    165165
    166166  OWLVAR_BOOL( "fancylines" /* %OwlVarStub */, 1,
Note: See TracChangeset for help on using the changeset viewer.