Skip to content

Commit 57bbc83

Browse files
committed
use "" for empty instead
1 parent c7305d1 commit 57bbc83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Widgets/TextView.vala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class Jorts.TextView : Granite.HyperTextView {
8383
* Add the list prefix only to lines who hasnt it already
8484
*/
8585
private bool has_prefix (uint8 line_number) {
86-
if (list_item_start == null) {return false;}
86+
if (list_item_start == "") {return false;}
8787

8888
Gtk.TextIter start, end;
8989
buffer.get_iter_at_line_offset (out start, line_number, 0);

0 commit comments

Comments
 (0)