From df60ca8ecdd78ce56565eb0b24b6fc49b9b2c650 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Sun, 8 May 2016 13:34:38 +0200 Subject: [PATCH] Cleanup --- examples/menu.rs | 4 ++-- src/native/macosx/MacMiniFB.m | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/menu.rs b/examples/menu.rs index b4a9f5c..3144647 100644 --- a/examples/menu.rs +++ b/examples/menu.rs @@ -1,7 +1,7 @@ extern crate minifb; -use minifb::{Window, Key, Scale, WindowOptions, Menu, MenuItem}; -use minifb::{MENU_KEY_COMMAND, MENU_KEY_CTRL}; +use minifb::{Window, Key, Scale, WindowOptions, Menu}; +use minifb::{MENU_KEY_CTRL}; const WIDTH: usize = 640; const HEIGHT: usize = 360; diff --git a/src/native/macosx/MacMiniFB.m b/src/native/macosx/MacMiniFB.m index 8c06cae..db71667 100644 --- a/src/native/macosx/MacMiniFB.m +++ b/src/native/macosx/MacMiniFB.m @@ -625,8 +625,6 @@ uint64_t mfb_add_menu_item( NSMenuItem* newItem = [[NSMenuItem alloc] initWithTitle:name action:@selector(onMenuPress:) keyEquivalent:@""]; [newItem setTag:menu_id]; - printf("set menu id %d\n", menu_id); - // This code may look a bit weird but is here for a reason: // // In order to make it easier to bulid cross-platform apps Ctrl is often used as