examples: Correct the comments for key handling
authorBryce Harrington <bryce@osg.samsung.com>
Tue, 8 Aug 2017 06:54:06 +0000 (15:54 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 9 Aug 2017 03:21:42 +0000 (12:21 +0900)
Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5076

src/examples/evas/evas-vg-simple.c

index 30eed1e..8783f24 100644 (file)
@@ -378,13 +378,13 @@ _interpolation_key_handle(void  *data EINA_UNUSED,
         puts(basic_shape_menu);
         return;
      }
-   if (strcmp(ev->key, "e") == 0) /* print help */
+   if (strcmp(ev->key, "e") == 0) /* exit */
      {
         _on_delete(d.ee);
         return;
      }
 
-   if (strcmp(ev->key, "b") == 0) /* print help */
+   if (strcmp(ev->key, "b") == 0) /* back to main menu */
      {
         _main_menu();
         return;