[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nsis-commits
Subject:    [NSIS-commits] SF.net SVN: nsis: [5629]
From:       kichik () users ! sourceforge ! net
Date:       2008-05-03 13:16:03
Message-ID: E1JsHat-0000RE-4q () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

Revision: 5629
          http://nsis.svn.sourceforge.net/nsis/?rev=5629&view=rev
Author:   kichik
Date:     2008-05-03 06:16:02 -0700 (Sat, 03 May 2008)

Log Message:
-----------
allow 'A' to be specified anywhere in the flags field

Modified Paths:
--------------
    NSIS/trunk/Contrib/LangDLL/LangDLL.c

Modified: NSIS/trunk/Contrib/LangDLL/LangDLL.c
===================================================================
--- NSIS/trunk/Contrib/LangDLL/LangDLL.c	2008-05-03 10:12:17 UTC (rev 5628)
+++ NSIS/trunk/Contrib/LangDLL/LangDLL.c	2008-05-03 13:16:02 UTC (rev 5629)
@@ -120,6 +120,7 @@
 
   {
     int i;
+    int doauto = 0;
     BOOL pop_empty_string = FALSE;
 
     // get texts
@@ -134,13 +135,14 @@
       char *p=temp;
       while (*p)
       {
+        if (*p == 'A') doauto=1; // parse auto count flag
         if (*p == 'F') dofont=1; // parse font flag
         if (*p == 'C') docp=1;   // parse codepage flag
         p++;
       }
     }
  
-    if (*temp == 'A') {
+    if (doauto) {
       // automatic language count
       stack_t *th;
       langs_num=0;


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
NSIS-commits mailing list
NSIS-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nsis-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic