diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:13:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:22 +0100 |
commit | 72c48b716640c76f0a8fa49341ce3b0099004991 (patch) | |
tree | 6aa8da1631e3d18272bd39ab55111885ab339b45 /desktop/unx/source/splashx.c | |
parent | 89c4edc13f203db1641c63e22774262bbe61f36f (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I8204a300c98b891a842ef2e40b65f0810dd7817a
Diffstat (limited to 'desktop/unx/source/splashx.c')
-rw-r--r-- | desktop/unx/source/splashx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index ce57afe85391..e26c5302f823 100644 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -90,7 +90,7 @@ static int splash_load_bmp( struct splash* splash, const char *filename ) if ( !(file = fopen( filename, "r" ) ) ) return 0; - splash->png_ptr = png_create_read_struct( PNG_LIBPNG_VER_STRING, 0, 0, 0 ); + splash->png_ptr = png_create_read_struct( PNG_LIBPNG_VER_STRING, NULL, NULL, NULL ); splash->info_ptr = png_create_info_struct(splash->png_ptr); png_init_io( splash->png_ptr, file ); @@ -491,7 +491,7 @@ static int splash_create_window( struct splash* splash, int argc, char** argv ) size_hints.max_height = splash->height; XSetStandardProperties( splash->display, splash->win, name, icon, None, - 0, 0, &size_hints ); + NULL, 0, &size_hints ); // the actual work suppress_decorations(splash); |