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