summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-10 16:41:25 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-10 16:41:25 +0200
commite60acc180b1886825246d194a2b9ce5d9bb91b2c (patch)
treef5ab918ed519ca9ae21ef5d9ebf86649393b6200 /src/gui.c
parent536681be5deba615f5ebe3edc3ce85ef01830876 (diff)
updated for version 7.3.187v7.3.187
Problem: The RISC OS port has obvious errors and is not being maintained. Solution: Remove the RISC OS files and code.
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c23
1 files changed, 4 insertions, 19 deletions
diff --git a/src/gui.c b/src/gui.c
index 041d6339c4..4255607a72 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -2156,7 +2156,7 @@ gui_outstr_nowrap(s, len, flags, fg, bg, back)
if (highlight_mask & (HL_INVERSE | HL_STANDOUT))
{
-#if defined(AMIGA) || defined(RISCOS)
+#if defined(AMIGA)
gui_mch_set_colors(bg_color, fg_color);
#else
gui_mch_set_fg_color(bg_color);
@@ -2165,7 +2165,7 @@ gui_outstr_nowrap(s, len, flags, fg, bg, back)
}
else
{
-#if defined(AMIGA) || defined(RISCOS)
+#if defined(AMIGA)
gui_mch_set_colors(fg_color, bg_color);
#else
gui_mch_set_fg_color(fg_color);
@@ -2193,7 +2193,7 @@ gui_outstr_nowrap(s, len, flags, fg, bg, back)
if (back != 0 && ((draw_flags & DRAW_BOLD) || (highlight_mask & HL_ITALIC)))
return FAIL;
-#if defined(RISCOS) || defined(FEAT_GUI_GTK)
+#if defined(FEAT_GUI_GTK)
/* If there's no italic font, then fake it.
* For GTK2, we don't need a different font for italic style. */
if (hl_mask_todo & HL_ITALIC)
@@ -2985,26 +2985,11 @@ button_set:
did_clip = TRUE;
}
/* Allow the left button to start the selection */
- else if (button ==
-# ifdef RISCOS
- /* Only start a drag on a drag event. Otherwise
- * we don't get a release event. */
- MOUSE_DRAG
-# else
- MOUSE_LEFT
-# endif
- )
- {
- clip_start_selection(X_2_COL(x), Y_2_ROW(y), repeated_click);
- did_clip = TRUE;
- }
-# ifdef RISCOS
else if (button == MOUSE_LEFT)
{
- clip_clear_selection();
+ clip_start_selection(X_2_COL(x), Y_2_ROW(y), repeated_click);
did_clip = TRUE;
}
-# endif
/* Always allow pasting */
if (button != MOUSE_MIDDLE)