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 | 53bb68572b24ba19b6139a12f5789d7e838aa54b (patch) | |
tree | 35a65b62a0b5d6d03084010327ae57db523aca20 /main.c | |
parent | 2440e484f14d4275136b110ec157cac9041ae284 (diff) | |
download | swaybg-53bb68572b24ba19b6139a12f5789d7e838aa54b.tar.gz swaybg-53bb68572b24ba19b6139a12f5789d7e838aa54b.tar.bz2 |
Fix build warnings
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ int main(int argc, const char **argv) { double height = cairo_image_surface_get_height(image); const char *scaling_mode_str = argv[3]; - enum scaling_mode scaling_mode; + enum scaling_mode scaling_mode = SCALING_MODE_STRETCH; if (strcmp(scaling_mode_str, "stretch") == 0) { scaling_mode = SCALING_MODE_STRETCH; } else if (strcmp(scaling_mode_str, "fill") == 0) { |