diff --git a/thunar/thunar-chooser-dialog.c b/thunar/thunar-chooser-dialog.c
index 72c23dbdb58a982dab387a229fab0fd5480025fe..32489707f6b024ac29d9bde08c4b8596ba7a1619 100644
--- a/thunar/thunar-chooser-dialog.c
+++ b/thunar/thunar-chooser-dialog.c
@@ -461,9 +461,9 @@ thunar_chooser_dialog_response (GtkDialog *widget,
   default_app = g_app_info_get_default_for_type (content_type, FALSE);
 
   /* check if we should also set the application as default or
-     if application is opened first time, set it as default application */
+   * if application is opened first time, set it as default application */
   if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->default_button))
-   || default_app == NULL)
+      || default_app == NULL)
     {
       /* remember the application as default for these kind of file */
       succeed = g_app_info_set_as_default_for_type (app_info, content_type, &error);
diff --git a/thunar/thunar-chooser-model.c b/thunar/thunar-chooser-model.c
index 78ba785fbe0f4c05207358d6094cc7498e4650e0..323fd14f6f482b501b2dec2ca360c74df5dee2c3 100644
--- a/thunar/thunar-chooser-model.c
+++ b/thunar/thunar-chooser-model.c
@@ -297,9 +297,9 @@ thunar_chooser_model_reload (ThunarChooserModel *model)
   if (default_app->data)
   {
     thunar_chooser_model_append (model,
-                               _("Default Application"),
-                               "preferences-desktop-default-applications",
-                               default_app);
+                                 _("Default Application"),
+                                 "preferences-desktop-default-applications",
+                                 default_app);
   }
 
   /* check if we have any applications for this type */