Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Ctrl+H: shortcuts help: combine some help messages

  • Loading branch information...
commit d4a642078b9c299fe523b447512d3f29f0fa78b1 1 parent d1a95a2
Xiangfu Liu authored March 19, 2012

Showing 1 changed file with 6 additions and 11 deletions. Show diff stats Hide diff stats

  1. 17  src/shortcuts.c
17  src/shortcuts.c
@@ -42,16 +42,11 @@ static void help(void)
42 42
 {
43 43
 	static int i = 0;
44 44
 
45  
-	char *help[] = {
46  
-		"Ctrl+H: Help message",
  45
+	const char *help_msg[] = {
47 46
 		"Hold F9 / Hold left button: Web update",
48  
-		"F1: Set video in CVBS green",
49  
-		"F2: Set video in CVBS blue",
50  
-		"F3: Set video in CVBS red",
51  
-		"F5: Increase brightness",
52  
-		"F6: Decrease brightness",
53  
-		"F7: Increase contrast",
54  
-		"F8: Decrease contrast",
  47
+		"F1 / F2 / F3: Set video in CVBS green/blue/red",
  48
+		"F5 / F6: Increase/decrease brightness",
  49
+		"F7 / F8: Increase/decrease contrast",
55 50
 		"Esc: Exit fun",
56 51
 		"F1: Show patch name(simple mode)",
57 52
 		"F9: Next patch(simple mode)",
@@ -63,8 +58,8 @@ static void help(void)
63 58
 	};
64 59
 
65 60
 	if(!fb_get_mode()) return;
66  
-	osd_event(help[i++]);
67  
-	if(!help[i]) i = 0;
  61
+	osd_event(help_msg[i++]);
  62
+	if(!help_msg[i]) i = 0;
68 63
 }
69 64
 
70 65
 static void switch_resolution(void)

0 notes on commit d4a6420

Please sign in to comment.
Something went wrong with that request. Please try again.