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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user