From 828209d4e237f95dcf962f814ce8e3038e1f1071 Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Sat, 8 Aug 2009 12:29:13 +0900 Subject: [PATCH] =?UTF-8?q?Bug=20502146=20=E2=80=93=20On=20WinCE,=20GRE=5F?= =?UTF-8?q?GetPathFromRegKey=20fails=20even=20if=20GRE=20exists=20on=20dev?= =?UTF-8?q?ice.=20r=3Dblassey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xpcom/glue/nsGREGlue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/glue/nsGREGlue.cpp b/xpcom/glue/nsGREGlue.cpp index 77f730858021..ec677aaa451f 100644 --- a/xpcom/glue/nsGREGlue.cpp +++ b/xpcom/glue/nsGREGlue.cpp @@ -814,7 +814,7 @@ GRE_GetPathFromRegKey(HKEY aRegKey, } else if (!wcsncat(buffer, L"\\" LXPCOM_DLL, aBufLen) #ifdef WINCE - || (GetFileAttributesW(buffer) != INVALID_FILE_ATTRIBUTES) + || (GetFileAttributesW(buffer) == INVALID_FILE_ATTRIBUTES) #else || _waccess(buffer, R_OK) #endif