Signed-off-by: Amadeusz Sławiński <am...@asmblr.net>
---
 WINGs/wtext.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/WINGs/wtext.c b/WINGs/wtext.c
index 3d5fb26..609014e 100644
--- a/WINGs/wtext.c
+++ b/WINGs/wtext.c
@@ -1023,7 +1023,6 @@ static void cursorToTextPosition(Text * tPtr, int x, int 
y)
                        if ((dir ? tb->next : tb->prior)) {
                                tb = (dir ? tb->next : tb->prior);
                        } else {
-                               pos = tb->used;
                                break;  /* goto _doneH; */
                        }
                }
@@ -1048,9 +1047,6 @@ static void cursorToTextPosition(Text * tPtr, int x, int 
y)
                }
        }
 
-       if (tb->blank)
-               _w = 0;
-
        _y = tb->sections[s]._y;
 
        while (tb) {
@@ -1117,7 +1113,6 @@ static void cursorToTextPosition(Text * tPtr, int x, int 
y)
                if ((dir ? tb->next : tb->prior)) {
                        tb = (dir ? tb->next : tb->prior);
                } else {
-                       done = True;
                        break;
                }
 
-- 
1.9.3


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to