Changeset a95b564 for variable.c


Ignore:
Timestamp:
Aug 5, 2017, 5:54:22 PM (7 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Branches:
master
Children:
81e93c3
Parents:
bf21c4e
git-author:
David Benjamin <davidben@mit.edu> (02/25/13 17:54:38)
git-committer:
Jason Gross <jasongross9@gmail.com> (08/05/17 17:54:22)
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

    r94b9ee0 ra95b564  
    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.