commit e6ff02791e78f0547c1e07f9faad425553fa1b35
parent 50b1f64a9a348f88ec9b54771936a8936c927891
Author: lumidify <nobody@lumidify.org>
Date:   Thu, 16 Apr 2020 09:51:15 +0200
Modify style slightly just 'cause I can
Diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/croptool.c b/croptool.c
@@ -84,7 +84,7 @@ static gboolean drag_motion(GtkWidget *area, GdkEventMotion *event, gpointer dat
 static gboolean key_press(GtkWidget *area, GdkEventKey *event, gpointer data);
 static gboolean configure_event(GtkWidget *area, GdkEvent *event, gpointer data);
 static void change_picture(GtkWidget *area, GdkPixbuf *new_pixbuf, int new_selection,
-	int orig_w, int orig_h, struct State *state, gboolean copy_box);
+    int orig_w, int orig_h, struct State *state, gboolean copy_box);
 static void next_picture(GtkWidget *area, struct State *state, gboolean copy_box);
 static void last_picture(GtkWidget *area, struct State *state);
 static GdkPixbuf *load_pixbuf(char *filename, int w, int h, int *actual_w, int *actual_h);
@@ -124,9 +124,9 @@ int main(int argc, char *argv[]) {
 	GtkWidget *area = gtk_drawing_area_new();
 	GTK_WIDGET_SET_FLAGS(area, GTK_CAN_FOCUS);
 	gtk_widget_add_events(area,
-		GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |
-		GDK_BUTTON_MOTION_MASK | GDK_KEY_PRESS_MASK |
-		GDK_POINTER_MOTION_HINT_MASK);
+	    GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |
+	    GDK_BUTTON_MOTION_MASK | GDK_KEY_PRESS_MASK |
+	    GDK_POINTER_MOTION_HINT_MASK);
 	gtk_container_add(GTK_CONTAINER(window), area);
 
 	g_signal_connect(area, "expose-event", G_CALLBACK(draw_expose), state);
@@ -447,8 +447,8 @@ next_picture(GtkWidget *area, struct State *state, gboolean copy_box) {
 	while (tmp_pixbuf == NULL && tmp_cur_selection + 1 < state->num_files) {
 		tmp_cur_selection++;
 		tmp_pixbuf = load_pixbuf(
-			state->filenames[tmp_cur_selection],
-			state->window_w, state->window_h, &orig_w, &orig_h);
+		    state->filenames[tmp_cur_selection],
+		    state->window_w, state->window_h, &orig_w, &orig_h);
 	}
 	if (!tmp_pixbuf)
 		return;
@@ -466,8 +466,8 @@ last_picture(GtkWidget *area, struct State *state) {
 	while (tmp_pixbuf == NULL && tmp_cur_selection > 0) {
 		tmp_cur_selection--;
 		tmp_pixbuf = load_pixbuf(
-			state->filenames[tmp_cur_selection],
-			state->window_w, state->window_h, &orig_w, &orig_h);
+		    state->filenames[tmp_cur_selection],
+		    state->window_w, state->window_h, &orig_w, &orig_h);
 	}
 
 	if (!tmp_pixbuf)