Permalink
Browse files

Update Commit

- minor touch-up...
  • Loading branch information...
1 parent f6007f2 commit 762411e656da57981fedbee2eecfbddf4c426719 @azman committed Mar 2, 2012
Showing with 4 additions and 7 deletions.
  1. +1 −4 src/my1console.c
  2. +3 −3 src/my1termu.c
View
@@ -77,10 +77,7 @@ int main(int argc, char* argv[])
case KEY_F12: printf("[F12]"); break;
default:
// check printable characters?
- if((cCheck>=0x41&&cCheck<=0x5A)||
- (cCheck>=0x61&&cCheck<=0x7A)||
- (cCheck>=0x30&&cCheck<=0x39)||
- (cCheck>=0x20&&cCheck<=0x7F))
+ if(cCheck>=0x20&&cCheck<=0x7F)
{
printf("'%c'",cCheck);
}
View
@@ -260,13 +260,13 @@ int main(int argc, char* argv[])
printf("\nFile: ");
if(!fgets(filename,FILENAME_LEN,stdin)||filename[0]=='\n')
{
- printf("\n\nNo valid input!\n\n");
+ printf("\nNo valid input!\n\n");
continue;
}
pfile = fopen(filename,"rb");
if(pfile==NULL)
{
- printf("\n\nFile \'%s\' not found!\n\n",filename);
+ printf("\nFile \'%s\' not found!\n\n",filename);
}
else
{
@@ -283,7 +283,7 @@ int main(int argc, char* argv[])
}
}
fclose(pfile);
- printf("\n\nFile \'%s\' sent!\n\n",filename);
+ printf("\nFile \'%s\' sent!\n\n",filename);
}
}
else if(key==KEY_F4) // show current settings

0 comments on commit 762411e

Please sign in to comment.