summaryrefslogtreecommitdiff
path: root/apps/plugins/text_viewer/text_viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_viewer/text_viewer.c')
-rw-r--r--apps/plugins/text_viewer/text_viewer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/text_viewer/text_viewer.c b/apps/plugins/text_viewer/text_viewer.c
index 4817710cb3..db370f5f73 100644
--- a/apps/plugins/text_viewer/text_viewer.c
+++ b/apps/plugins/text_viewer/text_viewer.c
@@ -73,6 +73,8 @@ enum plugin_status plugin_start(const void* file)
73 done = true; 73 done = true;
74 if (res == TV_MENU_RESULT_ATTACHED_USB) 74 if (res == TV_MENU_RESULT_ATTACHED_USB)
75 return PLUGIN_USB_CONNECTED; 75 return PLUGIN_USB_CONNECTED;
76 else if (res == TV_MENU_RESULT_ERROR)
77 return PLUGIN_ERROR;
76 } 78 }
77 } 79 }
78 break; 80 break;