mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 13:51:55 +00:00
Use _getch instead of deprecated getch
svn path=/trunk/; revision=38281
This commit is contained in:
parent
781ae61f03
commit
1fc586e88c
1 changed files with 3 additions and 3 deletions
|
@ -444,7 +444,7 @@ applyPatch_file_open_error:
|
|||
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 @@ applyPatch_file_open_error:
|
|||
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 @@ applyPatch_file_open_error:
|
|||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue