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 | ec517e320eae0825ced0f28e89c0ea72f2c39f34 (patch) | |
tree | 3148b30bc7a95bd78db2af38b3526489eecbbdc2 /main.c | |
parent | d07b3badfc367d64dc97eb38507f70ccd8cd41e0 (diff) | |
download | swaybg-ec517e320eae0825ced0f28e89c0ea72f2c39f34.tar.gz swaybg-ec517e320eae0825ced0f28e89c0ea72f2c39f34.tar.bz2 |
Don't use the _t postfix on non-typedef structures
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ list_t *surfaces; struct registry *registry; -enum scaling_mode_t { +enum scaling_mode { SCALING_MODE_STRETCH, SCALING_MODE_FILL, SCALING_MODE_FIT, @@ -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_t scaling_mode; + enum scaling_mode scaling_mode; if (strcmp(scaling_mode_str, "stretch") == 0) { scaling_mode = SCALING_MODE_STRETCH; } else if (strcmp(scaling_mode_str, "fill") == 0) { |