Routine changes
This commit is contained in:
8
texted.c
8
texted.c
@@ -33,7 +33,7 @@
|
||||
int run(char* dir) {
|
||||
char* text;
|
||||
char* saveLocation;
|
||||
char* tempSaveLoc;
|
||||
// char* tempSaveLoc;
|
||||
int textCounter;
|
||||
int selRow=1;
|
||||
// int numCharsCurrent;
|
||||
@@ -46,7 +46,7 @@ int run(char* dir) {
|
||||
int numLines;
|
||||
bool newLineFound;
|
||||
// int textIndex;
|
||||
char* shortText;
|
||||
// char* shortText;
|
||||
int upArrowDistance;
|
||||
int charsOnLine;
|
||||
|
||||
@@ -82,7 +82,7 @@ int run(char* dir) {
|
||||
int numNewLinesFound=0;
|
||||
int indexToBegin=0;
|
||||
FILE* readFile;
|
||||
int tempSelRow,tempSelCol;
|
||||
// int tempSelRow,tempSelCol;
|
||||
|
||||
// if (argc > 1) {
|
||||
if (readFile = fopen(dir,"r")) {
|
||||
@@ -432,7 +432,7 @@ int run(char* dir) {
|
||||
|
||||
endwin();
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user