Mercurial > sdl-ios-xcode
annotate src/main/win32/version.rc @ 4219:0a7481888fd1 SDL-1.2
Fixed bug #695
Nomad 2009-02-08 10:34:43 PST
The 2nd init is good.
The problem is in "SDL_dibevents.c"
in DIB_CreateWindow()
in SVN:
{
char *windowid = SDL_getenv("SDL_WINDOWID");
SDL_RegisterApp(NULL, 0, 0);
... using of data to which windowid is points
problem:
SDL_RegisterApp() may call SDL_getenv() and windowid will point to some
wrong string
solve:
char *windowid;
SDL_RegisterApp(NULL, 0, 0);
windowid = SDL_getenv("SDL_WINDOWID");
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 21 Sep 2009 09:54:33 +0000 |
parents | a1b03ba2fcd0 |
children | c57d816eb9c5 |
rev | line source |
---|---|
4089
37345dc3dd83
Switched afxres.h to winresrc.h
Sam Lantinga <slouken@libsdl.org>
parents:
4078
diff
changeset
|
1 |
37345dc3dd83
Switched afxres.h to winresrc.h
Sam Lantinga <slouken@libsdl.org>
parents:
4078
diff
changeset
|
2 #include "winresrc.h" |
4078
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 ///////////////////////////////////////////////////////////////////////////// |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 // |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 // Version |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 // |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 VS_VERSION_INFO VERSIONINFO |
4111
42f34d595d8b
Updated version to 1.2.13
Sam Lantinga <slouken@libsdl.org>
parents:
4089
diff
changeset
|
12 FILEVERSION 1,2,13,0 |
42f34d595d8b
Updated version to 1.2.13
Sam Lantinga <slouken@libsdl.org>
parents:
4089
diff
changeset
|
13 PRODUCTVERSION 1,2,13,0 |
4078
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 FILEFLAGSMASK 0x3fL |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 FILEFLAGS 0x0L |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
16 FILEOS 0x40004L |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
17 FILETYPE 0x2L |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
18 FILESUBTYPE 0x0L |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
19 BEGIN |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
20 BLOCK "StringFileInfo" |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
21 BEGIN |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
22 BLOCK "040904b0" |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
23 BEGIN |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
24 VALUE "CompanyName", "\0" |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
25 VALUE "FileDescription", "SDL\0" |
4111
42f34d595d8b
Updated version to 1.2.13
Sam Lantinga <slouken@libsdl.org>
parents:
4089
diff
changeset
|
26 VALUE "FileVersion", "1, 2, 13, 0\0" |
4078
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
27 VALUE "InternalName", "SDL\0" |
4159 | 28 VALUE "LegalCopyright", "Copyright © 2009 Sam Lantinga\0" |
4078
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
29 VALUE "OriginalFilename", "SDL.dll\0" |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
30 VALUE "ProductName", "Simple DirectMedia Layer\0" |
4111
42f34d595d8b
Updated version to 1.2.13
Sam Lantinga <slouken@libsdl.org>
parents:
4089
diff
changeset
|
31 VALUE "ProductVersion", "1, 2, 13, 0\0" |
4078
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
32 END |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
33 END |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
34 BLOCK "VarFileInfo" |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
35 BEGIN |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
36 VALUE "Translation", 0x409, 1200 |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
37 END |
5e6f2972f963
Added support for building version.rc in Windows build.
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
38 END |