summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2012-01-27 15:14:10 -0500
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2012-01-27 15:14:10 -0500
commitdf0777e915608ba2d403bb0b3a967b4619e0378b (patch)
tree27dc9f64969892507524b27cd53d4128cdee3993 /src/mark.c
parent450e8f38d479dfb8f5b3151d1c0bdcc2e9c6c6cc (diff)
downloadscreen-df0777e915608ba2d403bb0b3a967b4619e0378b.tar.gz
Fix various issues (compile warnings etc.)
The fixes include: * Add missing return values for some functions, * Initialize some variables * Fix data declaration to match struct's definition * Appropriate casting where needed * Forward declaration for some functions
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mark.c b/src/mark.c
index 35c2178..80c605f 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -158,6 +158,7 @@ nextchar(int *xp, int *yp, int direction, char target, int num)
debug("nextchar\n");
x = *xp;
+ step = 1;
adjust = 0;
width = fore->w_width;
displayed_line = (char *)WIN(*yp) -> image;