On Mon, Jul 14, 2008 at 11:48:42AM +0200, Bram Moolenaar wrote: > Patch 7.2b.001 > Problem: Compilation problem: mb_fix_col() missing with multi-byte feature > but without GUI or clipboard. > Solution: Remove #ifdef. > Files: src/mbyte.c
This almost fixes the problem, but there's another compiler error in mbyte.c now because of missing check_col/check_row definitions. Attached patch fixes it. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
diff --git a/src/ui.c b/src/ui.c
index a734e7b..1f7dbf6 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1910,8 +1910,6 @@ ui_cursor_shape()
}
#endif
-#if defined(FEAT_CLIPBOARD) || defined(FEAT_GUI) || defined(FEAT_RIGHTLEFT) \
- || defined(PROTO)
/*
* Check bounds for column number
*/
@@ -1939,7 +1937,6 @@ check_row(row)
return (int)screen_Rows - 1;
return row;
}
-#endif
/*
* Stuff for the X clipboard. Shared between VMS and Unix.
signature.asc
Description: Digital signature
