Changeset fa4562c for commands.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:18 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e19eb97
Parents:
65b2173
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:59:42)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:18)
Message:
Prepare code for adding const qualifiers for char * and void *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r65b2173 rfa4562c  
    24652465  }
    24662466  filtname = owl_view_get_filtname(owl_global_get_current_view(&g));
    2467   if (filtname) filtname = owl_strdup(filtname);
    2468   return filtname;
     2467  if (filtname) return owl_strdup(filtname);
     2468  return NULL;
    24692469}
    24702470
     
    25662566  }
    25672567  stylename = owl_view_get_style_name(owl_global_get_current_view(&g));
    2568   if (stylename) stylename = owl_strdup(stylename);
    2569   return stylename;
     2568  if (stylename) return owl_strdup(stylename);
     2569  return NULL;
    25702570}
    25712571
Note: See TracChangeset for help on using the changeset viewer.