From 5a6b357e6ff9379b68914048bdac50275f994749 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 27 Mar 2008 13:02:59 +0100 Subject: [PATCH] BUG#25340 --- win/configure.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win/configure.js b/win/configure.js index 4450b97f9a1..0de09fb318c 100755 --- a/win/configure.js +++ b/win/configure.js @@ -134,6 +134,8 @@ function GetValue(str, key) var end = str.indexOf("\n", pos); if (str.charAt(pos) == "\"") pos++; + if (str.charAt(end-1) == "\r") + end--; if (str.charAt(end-1) == "\"") end--; return str.substring(pos, end);