Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c13c3f9b
Commit
c13c3f9b
authored
Aug 18, 1999
by
Bertho Stultiens
Committed by
Alexandre Julliard
Aug 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrc did not check any IDs which are only 16 bit. Common dialogs had some
IDs larger and that caused problems. This is now solved (I hope).
parent
7760e7fb
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
2 deletions
+21
-2
cdlg_En.rc
dlls/commdlg/cdlg_En.rc
+7
-0
CHANGES
tools/wrc/CHANGES
+8
-0
parser.y
tools/wrc/parser.y
+4
-0
wrc.h
tools/wrc/wrc.h
+2
-2
No files found.
dlls/commdlg/cdlg_En.rc
View file @
c13c3f9b
...
...
@@ -357,7 +357,12 @@ aa aa a2 00 43 02'}
#if 0
/*
* DO NOT ENABLE!
* These IDs are out of range.
*/
/* NOTE: Please, do not translate these texts yet! */
STRINGTABLE DISCARDABLE
...
...
@@ -392,3 +397,5 @@ Please enter a value between %d and %d"
PRINTER_STATUS_SERVER_UNKNOWN "Print server unknown"
PRINTER_STATUS_POWER_SAVE "Power safe mode"
}
#endif
tools/wrc/CHANGES
View file @
c13c3f9b
---------------------------------------------------------------------------
Version 1.0.15 (13-Aug-1999)
Bertho Stultiens <bertho@akhphd.au.dk>
- Bugfix: IDs were not checked which resulted in numbers > 2^16-1 being
accepted as IDs. This resulted in duplicate IDs and all other sort of
trouble.
---------------------------------------------------------------------------
Version 1.0.14 (08-Aug-1999)
Bertho Stultiens <bertho@akhphd.au.dk>
...
...
tools/wrc/parser.y
View file @
c13c3f9b
...
...
@@ -433,6 +433,8 @@ resource
* Get a valid name/id
*/
nameid : expr {
if($1 > 65535 || $1 < -32768)
yyerror("Resource's ID out of range (%d)", $1);
$$ = new_name_id();
$$->type = name_ord;
$$->name.i_name = $1;
...
...
@@ -1305,6 +1307,8 @@ strings : /* Empty */ { $$ = NULL; }
| strings expr opt_comma tSTRING {
int i;
assert(tagstt != NULL);
if($2 > 65535 || $2 < -32768)
yyerror("Stringtable entry's ID out of range (%d)", $2);
/* Search for the ID */
for(i = 0; i < tagstt->nentries; i++)
{
...
...
tools/wrc/wrc.h
View file @
c13c3f9b
...
...
@@ -12,8 +12,8 @@
#include "wrctypes.h"
#endif
#define WRC_VERSION "1.0.1
4
"
#define WRC_RELEASEDATE "(
08
-Aug-1999)"
#define WRC_VERSION "1.0.1
5
"
#define WRC_RELEASEDATE "(
13
-Aug-1999)"
#define WRC_FULLVERSION WRC_VERSION " " WRC_RELEASEDATE
/* Only used in heavy debugging sessions */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment