diff options
author | Daniel <steew0x8@protonmail.com> | 2021-11-07 00:13:54 +0100 |
---|---|---|
committer | Daniel <steew0x8@protonmail.com> | 2021-11-07 00:13:54 +0100 |
commit | e300a7d8ee1125aaec92c84b2cb29e54dab6e2ff (patch) | |
tree | a20456b26514f0ee5543ee31df9a109433eb8ff7 | |
parent | d71d7dc9583e96a20c568c1929cbc137516e48ce (diff) | |
download | rpncalc-e300a7d8ee1125aaec92c84b2cb29e54dab6e2ff.tar.gz |
fix stack showing after list output
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c index b4e7b48..4f9dd2e 100644 --- a/main.c +++ b/main.c @@ -78,8 +78,8 @@ int main() { } else if (strcmp(buf, "list") == 0) { for (int i = 0; i < s.numel; i++) { fprintf(s.defout, "[%s]\t->\t%s\n", s.sorted[i].name, s.sorted[i].description); - continue; } + continue; } else exec(buf, &s); } } else { /* we found a number */ |