mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:42:57 +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");
|
printf("(S)kip, (R)etry, (A)bort, (M)anually enter filename");
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
c = getch();
|
c = _getch();
|
||||||
}
|
}
|
||||||
while (c != 's' && c != 'r' && c != 'a' && c != 'm');
|
while (c != 's' && c != 'r' && c != 'a' && c != 'm');
|
||||||
printf("\n");
|
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);
|
printf("Do you want to make a backup of %s? (Y)es, (N)o, (A)bort", fileName);
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
c = getch();
|
c = _getch();
|
||||||
}
|
}
|
||||||
while (c != 'y' && c != 'n' && c != 'a');
|
while (c != 'y' && c != 'n' && c != 'a');
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
@ -511,7 +511,7 @@ applyPatch_file_open_error:
|
||||||
printf("File %s already exists, overwrite? (Y)es, (N)o, (A)bort", buffer);
|
printf("File %s already exists, overwrite? (Y)es, (N)o, (A)bort", buffer);
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
c = getch();
|
c = _getch();
|
||||||
}
|
}
|
||||||
while (c != 'y' && c != 'n' && c != 'a');
|
while (c != 'y' && c != 'n' && c != 'a');
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue