Author: tkreuzer
Date: Mon Dec 22 16:58:41 2008
New Revision: 38281
URL:
http://svn.reactos.org/svn/reactos?rev=38281&view=rev
Log:
Use _getch instead of deprecated getch
Modified:
trunk/rosapps/applications/sysutils/utils/binpatch/patch.c
Modified: trunk/rosapps/applications/sysutils/utils/binpatch/patch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/util…
==============================================================================
--- trunk/rosapps/applications/sysutils/utils/binpatch/patch.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/sysutils/utils/binpatch/patch.c [iso-8859-1] Mon Dec 22
16:58:41 2008
@@ -444,7 +444,7 @@
printf("(S)kip, (R)etry, (A)bort, (M)anually enter filename");
do
{
- c = getch();
+ c = _getch();
}
while (c != 's' && c != 'r' && c !=
'a' && c != 'm');
printf("\n");
@@ -496,7 +496,7 @@
printf("Do you want to make a backup of %s? (Y)es, (N)o, (A)bort",
fileName);
do
{
- c = getch();
+ c = _getch();
}
while (c != 'y' && c != 'n' && c !=
'a');
printf("\n");
@@ -511,7 +511,7 @@
printf("File %s already exists, overwrite? (Y)es, (N)o,
(A)bort", buffer);
do
{
- c = getch();
+ c = _getch();
}
while (c != 'y' && c != 'n' && c !=
'a');
printf("\n");