diff options
author | Connor Lane Smith | 2010-06-22 10:45:07 +0100 |
---|---|---|
committer | Connor Lane Smith | 2010-06-22 10:45:07 +0100 |
commit | bff1526d31faaf289804174f6477d61736e82443 (patch) | |
tree | 68bbd88909306d6af3b2b5180c344bf443bf67f8 | |
parent | 9a33a72c6afd9042c8395f4318bf5d21e235694d (diff) |
fixed vlist cursor
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -472,7 +472,7 @@ kpress(XKeyEvent * e) { calcoffsets(); break; case XK_Left: - if(cursor > 0 && (!sel || !sel->left)) { + if(cursor > 0 && (!sel || !sel->left || lines > 0)) { while(cursor-- > 0 && !IS_UTF8_1ST_CHAR(text[cursor])); break; } |