[easytag] Fix check for upper-casing prepositions



commit b44afc315f1948ce7e308154d2a92392e27077bf
Author: David King <amigadave amigadave com>
Date:   Sat Sep 13 19:11:48 2014 +0100

    Fix check for upper-casing prepositions
    
    Flip the boolean check for whether to upper-case prepositions and other
    excluded words.

 src/scan_dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/scan_dialog.c b/src/scan_dialog.c
index 5c12ccf..f688433 100644
--- a/src/scan_dialog.c
+++ b/src/scan_dialog.c
@@ -1654,8 +1654,8 @@ Scan_Process_Fields_First_Letters_Uppercase (EtScanDialog *self, gchar **str)
             c = g_utf8_get_char(word);
             strncpy(word, utf8_character, g_unichar_to_utf8(g_unichar_toupper(c), utf8_character));
 
-            if (g_settings_get_boolean (MainSettings,
-                                        "process-uppercase-prepositions"))
+            if (!g_settings_get_boolean (MainSettings,
+                                         "process-uppercase-prepositions"))
             {
                 break;
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]