Hugh McMaster : regedit: Do not remove lines beginning with a semicolon from the read buffer.

Alexandre Julliard julliard at winehq.org
Wed Jul 5 15:41:02 CDT 2017


Module: wine
Branch: master
Commit: 5cc1b227b77b84407a506914e90c857b20f8960d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5cc1b227b77b84407a506914e90c857b20f8960d

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Wed Jul  5 13:32:54 2017 +0000

regedit: Do not remove lines beginning with a semicolon from the read buffer.

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/regedit/regproc.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/programs/regedit/regproc.c b/programs/regedit/regproc.c
index 92c30e9..74f0640 100644
--- a/programs/regedit/regproc.c
+++ b/programs/regedit/regproc.c
@@ -991,11 +991,6 @@ static WCHAR *get_lineA(FILE *fp)
         next = p + 1;
         if (*p == '\r' && *(p + 1) == '\n') next++;
         *p = 0;
-        if (*line == ';')
-        {
-            line = next;
-            continue;
-        }
         lineW = GetWideString(line);
         return lineW;
     }
@@ -1054,11 +1049,6 @@ static WCHAR *get_lineW(FILE *fp)
         next = p + 1;
         if (*p == '\r' && *(p + 1) == '\n') next++;
         *p = 0;
-        if (*line == ';')
-        {
-            line = next;
-            continue;
-        }
         return line;
     }
 




More information about the wine-cvs mailing list