Lock all code in the repository.
svn path=/trunk/; revision=21257
|
@ -1,8 +1,5 @@
|
|||
#include <precomp.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4100)
|
||||
#endif
|
||||
INT_PTR CALLBACK
|
||||
AboutDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
static PIMAGE_PROP ImageProp;
|
||||
static HWND hImageType, hUnitType, hHeightUnit, hWidthUnit, hResUnit;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4100)
|
||||
#endif
|
||||
INT_PTR CALLBACK
|
||||
ImagePropDialogProc(HWND hDlg,
|
||||
UINT message,
|
||||
|
|
|
@ -183,8 +183,12 @@ GetNumFromEdit(IN HWND hDlg,
|
|||
IN UINT Res)
|
||||
{
|
||||
LONG num = 0;
|
||||
LPTSTR buf;
|
||||
INT len = GetWindowTextLength(GetDlgItem(hDlg, Res));
|
||||
TCHAR buf[len+1];
|
||||
|
||||
buf = HeapAlloc(ProcessHeap,
|
||||
0,
|
||||
len);
|
||||
|
||||
if(len > 0)
|
||||
{
|
||||
|
@ -195,5 +199,9 @@ GetNumFromEdit(IN HWND hDlg,
|
|||
num = _ttol(buf);
|
||||
}
|
||||
|
||||
HeapFree(ProcessHeap,
|
||||
0,
|
||||
buf);
|
||||
|
||||
return num;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,10 @@ ULONG DbgPrint(PCH Format,...);
|
|||
#define MAX_KEY_LENGTH 256
|
||||
#define NUM_BUTTONS 14
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4100)
|
||||
#endif
|
||||
|
||||
/* generic definitions and forward declarations */
|
||||
struct _MAIN_WND_INFO;
|
||||
struct _EDIT_WND_INFO;
|
||||
|
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 29 KiB |
|
@ -245,7 +245,7 @@ CreateFreeLoaderIniForDos(PWCHAR IniPath,
|
|||
NULL,
|
||||
INSERT_LAST,
|
||||
L"Options",
|
||||
L"/DEBUGPORT=SCREEN /NOGUIBOOT");
|
||||
L"/DEBUGPORT=COM1 /NOGUIBOOT");
|
||||
|
||||
/* Create "DOS" section */
|
||||
IniSection = IniCacheAppendSection(IniCache,
|
||||
|
@ -356,7 +356,7 @@ CreateFreeLoaderIniForReactos(PWCHAR IniPath,
|
|||
NULL,
|
||||
INSERT_LAST,
|
||||
L"Options",
|
||||
L"/DEBUGPORT=SCREEN /NOGUIBOOT");
|
||||
L"/DEBUGPORT=COM1 /NOGUIBOOT");
|
||||
|
||||
/* Save the ini file */
|
||||
IniCacheSave(IniCache, IniPath);
|
||||
|
|
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 25 KiB |