diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-03-03 21:21:55 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-03-03 21:21:55 +0000 |
| commit | 7c4b51c7574844efd991df787e9be4c96fb031b3 (patch) | |
| tree | 812bb7bf2313247b69ce49d6e701385f22e779f2 /src/widgets/font-selector.cpp | |
| parent | - fix memleak (diff) | |
| download | inkscape-7c4b51c7574844efd991df787e9be4c96fb031b3.tar.gz inkscape-7c4b51c7574844efd991df787e9be4c96fb031b3.zip | |
change 0 to NULL for pointers
(bzr r13102)
Diffstat (limited to 'src/widgets/font-selector.cpp')
| -rw-r--r-- | src/widgets/font-selector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/font-selector.cpp b/src/widgets/font-selector.cpp index 5f9098d44..0e862638c 100644 --- a/src/widgets/font-selector.cpp +++ b/src/widgets/font-selector.cpp @@ -295,7 +295,7 @@ static void sp_font_selector_family_select_row(GtkTreeSelection *selection, // Next get family name with its style list gchar *family; - GList *list=0; + GList *list=NULL; gtk_tree_model_get (model, &iter, 0, &family, 1, &list, -1); // Find best style match for selected family with current style (e.g. of selected text). @@ -418,7 +418,7 @@ static void sp_font_selector_emit_set (SPFontSelector *fsel) GtkTreeModel *model_style; GtkTreeIter iter_family; GtkTreeIter iter_style; - char *family=0, *style=0; + char *family=NULL, *style=NULL; //We need to check this here since most GtkTreeModel operations are not atomic //See GtkListStore documenation, Chapter "Atomic Operations" --mderezynski |
