Linked regedit against msvcrt instead of the platform I/O library, so

it can handle full Windows paths.
This commit is contained in:
Andriy Palamarchuk 2002-08-15 21:45:28 +00:00 committed by Alexandre Julliard
parent befbb0e441
commit fe61065cd7
2 changed files with 3 additions and 6 deletions

View file

@ -4,7 +4,8 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = regedit.exe
APPMODE = gui
IMPORTS = advapi32 kernel32
IMPORTS = msvcrt advapi32 kernel32
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
C_SRCS = \
regedit.c \

View file

@ -20,9 +20,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <limits.h>
#include <stdio.h>
#include <windows.h>
@ -1283,7 +1280,7 @@ void export_hkey(FILE *file, HKEY key,
CHAR buf[20];
int cur_pos;
if (value_type == REG_BINARY)
if (value_type == REG_BINARY)
{
hex_prefix = "hex:";
} else {
@ -1574,4 +1571,3 @@ CHAR *getAppName()
{
return app_name;
}