Mikolaj Zalewski : resource names are stored upper-case in the *.res file
Alexandre Julliard
julliard at winehq.org
Fri Jun 19 08:36:18 CDT 2009
Module: tools
Branch: master
Commit: e49cd4e9cabd8b4eb6677f4b4295d16afe381ed9
URL: http://source.winehq.org/git/tools.git/?a=commit;h=e49cd4e9cabd8b4eb6677f4b4295d16afe381ed9
Author: Mikolaj Zalewski <mikolajz at tygrys.dom>
Date: Sat Mar 1 15:10:17 2008 +0100
resource names are stored upper-case in the *.res file
---
php/lib_res.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/php/lib_res.php b/php/lib_res.php
index 4a8b040..b7ba878 100644
--- a/php/lib_res.php
+++ b/php/lib_res.php
@@ -190,7 +190,7 @@ class ResFile
if ($res_type == $type)
{
$res_name = get_stringorid($data, $strpos);
- if ($res_name == $name)
+ if ($res_name == strtoupper($name))
{
if ($strpos & 3) /* DWORD padding */
$strpos += 2;
More information about the wine-cvs
mailing list