[MPlayer-cvslog] r31747 - trunk/help/help_create.sh

diego subversion at mplayerhq.hu
Sat Jul 17 11:19:39 CEST 2010


Author: diego
Date: Sat Jul 17 11:19:39 2010
New Revision: 31747

Log:
cosmetics: Use 'elif' instead of 'else .. if'.

Modified:
   trunk/help/help_create.sh

Modified: trunk/help/help_create.sh
==============================================================================
--- trunk/help/help_create.sh	Fri Jul 16 19:45:50 2010	(r31746)
+++ trunk/help/help_create.sh	Sat Jul 17 11:19:39 2010	(r31747)
@@ -24,12 +24,9 @@ while read -r line; do
         if grep -q "^#define $curr[	 ]" "$TRANSLATION" ; then
             curr=""
         fi
-    else
-        if [ -z "$line" ]; then
-            curr=""
-        fi
+    elif [ -z "$line" ]; then
+        curr=""
     fi
-
     if [ -n "$curr" ]; then
         printf "%s\n" "$line"
     fi


More information about the MPlayer-cvslog mailing list