Missed two in the last commit

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@942 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-08-21 11:29:16 +00:00
parent 5cd4bc0444
commit 3964a0028f
2 changed files with 5 additions and 5 deletions

View File

@@ -212,11 +212,11 @@ int getche(void)
int main (void)
{
char msg[] = "press key to continue...";
char *ptr = msg, tmp;
char *ptr = msg;
while ( !OpenMesh::Utils::kbhit() )
{
tmp = *ptr;
char* tmp = *ptr;
*ptr = islower(tmp) ? toupper(tmp) : tolower(tmp);
printf("\r%s", msg); fflush(stdout);
*ptr = (char)tmp;