projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: modernize-use-nullptr
[geeqie.git]
/
src
/
layout-image.cc
diff --git
a/src/layout-image.cc
b/src/layout-image.cc
index
885f7a8
..
49fea7f
100644
(file)
--- a/
src/layout-image.cc
+++ b/
src/layout-image.cc
@@
-1426,7
+1426,7
@@
const gchar *layout_image_get_path(LayoutWindow *lw)
#pragma GCC diagnostic ignored "-Wunused-function"
const gchar *layout_image_get_name_unused(LayoutWindow *lw)
{
- if (!layout_valid(&lw)) return
NULL
;
+ if (!layout_valid(&lw)) return
nullptr
;
return image_get_name(lw->image);
}