diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-01-05 23:42:40 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-01-05 23:42:40 +0100 |
commit | 364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8 (patch) | |
tree | ad4982838b282f2424c29490b00014ed62c0bdfe /swaylock/main.c | |
parent | Init layout before checking config (diff) | |
download | sway-364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8.tar.gz sway-364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8.tar.zst sway-364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8.zip |
Fix whitespace issues.
Diffstat (limited to 'swaylock/main.c')
-rw-r--r-- | swaylock/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/swaylock/main.c b/swaylock/main.c index eccb902e..9de95e7a 100644 --- a/swaylock/main.c +++ b/swaylock/main.c | |||
@@ -38,10 +38,10 @@ char *password; | |||
38 | struct pam_response *pam_reply; | 38 | struct pam_response *pam_reply; |
39 | 39 | ||
40 | int function_conversation(int num_msg, const struct pam_message **msg, | 40 | int function_conversation(int num_msg, const struct pam_message **msg, |
41 | struct pam_response **resp, void *appdata_ptr) { | 41 | struct pam_response **resp, void *appdata_ptr) { |
42 | *resp = pam_reply; | 42 | *resp = pam_reply; |
43 | return PAM_SUCCESS; | 43 | return PAM_SUCCESS; |
44 | } | 44 | } |
45 | 45 | ||
46 | /** | 46 | /** |
47 | * password will be zeroed out. | 47 | * password will be zeroed out. |
@@ -122,7 +122,7 @@ int main(int argc, char **argv) { | |||
122 | cairo_surface_t *image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf); | 122 | cairo_surface_t *image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf); |
123 | g_object_unref(pixbuf); | 123 | g_object_unref(pixbuf); |
124 | #else | 124 | #else |
125 | cairo_surface_t *image = cairo_image_surface_create_from_png(argv[1]); | 125 | cairo_surface_t *image = cairo_image_surface_create_from_png(argv[1]); |
126 | #endif //WITH_GDK_PIXBUF | 126 | #endif //WITH_GDK_PIXBUF |
127 | if (!image) { | 127 | if (!image) { |
128 | sway_abort("Failed to read background image."); | 128 | sway_abort("Failed to read background image."); |