File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 99
1010/*
1111 * drawline.c: Functions for drawing window lines on the screen.
12- * This is the middle level, drawscreen. is the higher level and screen.c the
12+ * This is the middle level, drawscreen.c is the higher level and screen.c the
1313 * lower level.
1414 */
1515
@@ -339,6 +339,11 @@ text_prop_compare(const void *s1, const void *s2)
339339 // same priority, one that starts first wins
340340 if (col1 != col2 )
341341 return col1 < col2 ? 1 : -1 ;
342+
343+ // for a property with text the id can be used as tie breaker
344+ if (tp1 -> tp_id < 0 )
345+ return tp1 -> tp_id > tp2 -> tp_id ? 1 : -1 ;
346+
342347 return 0 ;
343348}
344349#endif
Original file line number Diff line number Diff line change @@ -731,6 +731,8 @@ static char *(features[]) =
731731
732732static int included_patches [] =
733733{ /* Add new patch number below this line */
734+ /**/
735+ 243 ,
734736/**/
735737 242 ,
736738/**/
You can’t perform that action at this time.
0 commit comments