diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-27 08:52:59 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-27 08:52:59 -0500 |
commit | f8f0bcd4d3d607c476a8a0ce301232b72a301ef3 (patch) | |
tree | fcf3960bdbf5806b2044c3ae4ee1d9b9d8bb96d6 | |
parent | Add "variant": "sway" to IPC version response (diff) | |
download | sway-f8f0bcd4d3d607c476a8a0ce301232b72a301ef3.tar.gz sway-f8f0bcd4d3d607c476a8a0ce301232b72a301ef3.tar.zst sway-f8f0bcd4d3d607c476a8a0ce301232b72a301ef3.zip |
Don't use the _t postfix on non-typedef structures
-rw-r--r-- | swaybg/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybg/main.c b/swaybg/main.c index e4c699c1..feb9002e 100644 --- a/swaybg/main.c +++ b/swaybg/main.c | |||
@@ -12,7 +12,7 @@ list_t *surfaces; | |||
12 | 12 | ||
13 | struct registry *registry; | 13 | struct registry *registry; |
14 | 14 | ||
15 | enum scaling_mode_t { | 15 | enum scaling_mode { |
16 | SCALING_MODE_STRETCH, | 16 | SCALING_MODE_STRETCH, |
17 | SCALING_MODE_FILL, | 17 | SCALING_MODE_FILL, |
18 | SCALING_MODE_FIT, | 18 | SCALING_MODE_FIT, |
@@ -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_t scaling_mode; | 65 | enum scaling_mode scaling_mode; |
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) { |