Differentiate launch gotos
authormalc <av1474@comtv.ru>
Sat, 2 Mar 2013 16:12:31 +0000 (2 20:12 +0400)
committermalc <av1474@comtv.ru>
Sat, 2 Mar 2013 16:12:31 +0000 (2 20:12 +0400)
link.c

diff --git a/link.c b/link.c
index abcef7f..7801b8b 100644 (file)
--- a/link.c
+++ b/link.c
@@ -2066,6 +2066,7 @@ static void highlightlinks (struct page *page, int xoff, int yoff)
         switch (link->dest.kind) {
         case FZ_LINK_GOTO: glColor3ub (255, 0, 0); break;
         case FZ_LINK_URI: glColor3ub (0, 0, 255); break;
+        case FZ_LINK_LAUNCH: glColor3ub (0, 255, 0); break;
         default: glColor3ub (0, 0, 0); break;
         }