summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index 22b9a2a..50b2ba6 100644
--- a/main.c
+++ b/main.c
@@ -17,13 +17,12 @@ int main() {
char *TEMP = "";
scanf("%s", &TEMP);
- for (int i = 0; i != "/0"; i++)
+ for (int i = 0; (TEMP + i) != "/0"; i++)
{
tolower(TEMP[0]);
}
if (TEMP == "exit") {
- RUNNING = false;
printf("exited successfully");
}
else {