diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-27 09:42:24 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-27 09:42:24 -0500 |
commit | 5ae359279ba2b72acc93c907c31850e16d10b358 (patch) | |
tree | 9139dd62e465d920d19cf336b309d8099070cb4d /swaybg | |
parent | Fix mistake in CONTRIBUTING.md (diff) | |
download | sway-5ae359279ba2b72acc93c907c31850e16d10b358.tar.gz sway-5ae359279ba2b72acc93c907c31850e16d10b358.tar.zst sway-5ae359279ba2b72acc93c907c31850e16d10b358.zip |
Fix build warnings
Diffstat (limited to 'swaybg')
-rw-r--r-- | swaybg/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybg/main.c b/swaybg/main.c index 3b344079..ff16a54e 100644 --- a/swaybg/main.c +++ b/swaybg/main.c | |||
@@ -62,7 +62,7 @@ int main(int argc, const char **argv) { | |||
62 | double height = cairo_image_surface_get_height(image); | 62 | double height = cairo_image_surface_get_height(image); |
63 | 63 | ||
64 | const char *scaling_mode_str = argv[3]; | 64 | const char *scaling_mode_str = argv[3]; |
65 | enum scaling_mode scaling_mode; | 65 | enum scaling_mode scaling_mode = SCALING_MODE_STRETCH; |
66 | if (strcmp(scaling_mode_str, "stretch") == 0) { | 66 | if (strcmp(scaling_mode_str, "stretch") == 0) { |
67 | scaling_mode = SCALING_MODE_STRETCH; | 67 | scaling_mode = SCALING_MODE_STRETCH; |
68 | } else if (strcmp(scaling_mode_str, "fill") == 0) { | 68 | } else if (strcmp(scaling_mode_str, "fill") == 0) { |