summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Sławiński (amade) <amade@asmblr.net>2011-01-06 00:47:21 +0100
committerAmadeusz Sławiński <amade@asmblr.net>2014-05-15 17:36:29 +0200
commit5130bd6255f82853f2589ce3f4ce565cca5e603a (patch)
treec0040ba7e873c4ad5da75d75ccf6b7cf5339ba3a
parent44589fa6c6cb64f9a5ec77c7aff8d36f169cdcaf (diff)
downloadscreen-5130bd6255f82853f2589ce3f4ce565cca5e603a.tar.gz
convert comments to C style comments
-rw-r--r--src/process.c10
-rw-r--r--src/screen.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c
index 8a7ed7e..1e839e7 100644
--- a/src/process.c
+++ b/src/process.c
@@ -7400,11 +7400,11 @@ CalcSlicePercent(struct canvas *cv, int percent)
static int
ChangeCanvasSize(struct canvas *fcv, int abs, int diff, int gflag, int percent)
-//struct canvas *fcv; /* make this canvas bigger */
-//int abs; /* mode: 0:rel 1:abs 2:max */
-//int diff; /* change this much */
-//int gflag; /* go up if neccessary */
-//int percent;
+/* struct canvas *fcv; make this canvas bigger
+ int abs; mode: 0:rel 1:abs 2:max
+ int diff; change this much
+ int gflag; go up if neccessary
+ int percent; */
{
struct canvas *cv;
int done, have, m, dir;
diff --git a/src/screen.c b/src/screen.c
index b239320..d2dc4cb 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1335,7 +1335,7 @@ main(int argc, char **argv)
FD_SET(0, &rfd);
Msg(0, "Sorry, could not find a PTY or TTY.");
- // allow user to exit early by pressing any key.
+ /* allow user to exit early by pressing any key. */
select(1, &rfd, NULL, NULL, &tv);
Finit(0);
/* NOTREACHED */