mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
Fix build warnings
This commit is contained in:
parent
d95447fdd9
commit
5ae359279b
2 changed files with 4 additions and 2 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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue