From 5638a5f47120b383bd4e7e7f8ee60bb78a69f9b7 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 31 Jan 2016 21:47:25 +0000 Subject: Just cleaning up a few lines. Removed a false comment I just added. Removed FL_PORTING ifdef that is no longer needed git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Bitmap.cxx | 4 ---- src/fl_rect.cxx | 6 ------ 2 files changed, 10 deletions(-) (limited to 'src') diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx index 27526a04a..4d3627515 100644 --- a/src/Fl_Bitmap.cxx +++ b/src/Fl_Bitmap.cxx @@ -171,8 +171,6 @@ int Fl_Bitmap::start(int XP, int YP, int WP, int HP, int &cx, int &cy, if (!id_) id_ = fl_create_bitmask(w(), h(), array); #elif defined(FL_PORTING) # pragma message "FL_PORTING: call the right function to create a bitmap" -#else - // TODO: please insert comment, explaining why we don;t need a bitmap here for X11 #endif return 0; } @@ -194,8 +192,6 @@ void Fl_Bitmap::uncache() { fl_delete_bitmask((Fl_Offscreen)id_); #elif defined(FL_PORTING) # pragma message "FL_PORTING: call the right function to create a bitmask" -#else - // TODO: please insert comment, explaining why we don;t need a bitmap here for X11 #endif id_ = 0; } diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx index 3fddf9388..f5b3d0af4 100644 --- a/src/fl_rect.cxx +++ b/src/fl_rect.cxx @@ -34,12 +34,6 @@ #include #include -#if defined(WIN32) || defined(__APPLE__) -#elif defined(FL_PORTING) -# pragma message "FL_PORTING: implement all the line drawing functions below" -#else -#endif - // ----------------------------------------------------------------------------- // all driver code is now in drivers/XXX/Fl_XXX_Graphics_Driver_xyz.cxx // ----------------------------------------------------------------------------- -- cgit v1.2.3