Soft'N'Design Software
/
projects
/
calc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
680bf70
)
change prompt
author
Laurent Mazet
<mazet@softndesign.org>
Wed, 18 Jan 2023 23:03:00 +0000
(
00:03
+0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Wed, 18 Jan 2023 23:03:00 +0000
(
00:03
+0100)
calc.c
patch
|
blob
|
blame
|
history
diff --git
a/calc.c
b/calc.c
index 0f8604cae8ca621e6549f118d90ff68b60adec25..749280c38b3bd4dad1e8f82606e96bd1b1a7a143 100644
(file)
--- a/
calc.c
+++ b/
calc.c
@@
-99,7
+99,7
@@
int main (int argc, char *argv[])
/* read from input stream */
- while ((buffer = readline ("
>
")) != NULL) {
+ while ((buffer = readline ("
<=
")) != NULL) {
/* check empty line */
if (strlen (buffer) == 0) {