summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-01-04 13:40:57 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-01-04 13:40:57 +0000
commitd32b291a7262698cb4767660466d42fda44f1033 (patch)
treede57883d7e581e33179a072255ad3f8291730ff8
parentacf6c881d36b675d755433d3cf48613bc46ed78d (diff)
Fix typos in #pragma FL_PORTING.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/Fl_Gl_Window.H2
-rw-r--r--FL/Fl_Image_Surface.H2
-rw-r--r--FL/Fl_PostScript.H4
-rw-r--r--FL/Fl_Tooltip.H2
-rw-r--r--FL/x.H2
-rw-r--r--src/Fl.cxx2
-rw-r--r--src/Fl_Bitmap.cxx6
-rw-r--r--src/Fl_Copy_Surface.cxx4
-rw-r--r--src/Fl_Double_Window.cxx2
-rw-r--r--src/Fl_File_Browser.cxx2
-rw-r--r--src/Fl_File_Chooser2.cxx2
-rw-r--r--src/Fl_own_colormap.cxx2
-rw-r--r--src/filename_ext.cxx2
-rw-r--r--src/filename_isdir.cxx2
-rw-r--r--src/filename_list.cxx2
-rw-r--r--src/fl_font.cxx2
-rw-r--r--src/fl_rect.cxx2
-rw-r--r--src/fl_utf.c2
-rw-r--r--test/blocks.cxx2
19 files changed, 23 insertions, 23 deletions
diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H
index 07d987f01..18725d08b 100644
--- a/FL/Fl_Gl_Window.H
+++ b/FL/Fl_Gl_Window.H
@@ -243,7 +243,7 @@ public:
#elif defined(WIN32)
int pixels_per_unit() { return 1; }
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: define mutiple resolution OpenGL rendering if your platform supports it"
+# pragma message "FL_PORTING: define multiple resolution OpenGL rendering if your platform supports it"
#else
int pixels_per_unit() { return 1; }
#endif
diff --git a/FL/Fl_Image_Surface.H b/FL/Fl_Image_Surface.H
index b3842dad5..955576610 100644
--- a/FL/Fl_Image_Surface.H
+++ b/FL/Fl_Image_Surface.H
@@ -56,7 +56,7 @@ private:
Fl_Surface_Device *_ss;
int _savedc;
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: define variables to hold imaga data for Fl_Image_Surface"
+# pragma message "FL_PORTING: define variables to hold image data for Fl_Image_Surface"
#else
Fl_Surface_Device *previous;
Window pre_window;
diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H
index 1c048391f..175a5f4e7 100644
--- a/FL/Fl_PostScript.H
+++ b/FL/Fl_PostScript.H
@@ -235,7 +235,7 @@ class FL_EXPORT Fl_PostScript_File_Device : public Fl_Paged_Device {
#elif defined(WIN32)
// not needed
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: define storage for your graphics context in Fl_Postscript_File_Device if needed"
+# pragma message "FL_PORTING: define storage for your graphics context in Fl_PostScript_File_Device if needed"
#else // X11
// not needed
#endif
@@ -267,7 +267,7 @@ public:
#elif defined(WIN32)
// not needed
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: set access to your graphics context in Fl_Postscript_File_Device if needed"
+# pragma message "FL_PORTING: set access to your graphics context in Fl_PostScript_File_Device if needed"
#else // X11
// not needed
#endif
diff --git a/FL/Fl_Tooltip.H b/FL/Fl_Tooltip.H
index f3aef8b34..d0e905b22 100644
--- a/FL/Fl_Tooltip.H
+++ b/FL/Fl_Tooltip.H
@@ -103,7 +103,7 @@ public:
#elif defined(WIN32)
// not needed
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: do we need to remember the tooltip parent window?"
+# pragma message "FL_PORTING: do you need to remember the tooltip parent window?"
#else // X11
// not needed
#endif
diff --git a/FL/x.H b/FL/x.H
index d2b25f954..dcfe0aa21 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -31,7 +31,7 @@
# elif defined(__APPLE__)
# include "mac.H"
# elif defined(FL_PORTING)
-# pragma message "FL_PORTING: write a header file based on this file, win32.H, or mac.H to define the FLTK core internals"
+# pragma message "FL_PORTING: write a header file based on this file, win32.H, or mac.H to define the FLTK core internals"
# else // X11
# if defined(_ABIN32) || defined(_ABI64) // fix for broken SGI Irix X .h files
# pragma set woff 3322
diff --git a/src/Fl.cxx b/src/Fl.cxx
index 2976baa3c..e205f4407 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -800,7 +800,7 @@ void Fl::flush() {
if (fl_gc)
CGContextFlush(fl_gc);
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: flush your graohics context here"
+# pragma message "FL_PORTING: flush your graphics context here"
#else
# error unsupported platform
#endif
diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx
index 42be41a77..52add9f97 100644
--- a/src/Fl_Bitmap.cxx
+++ b/src/Fl_Bitmap.cxx
@@ -269,7 +269,7 @@ int Fl_Bitmap::start(int XP, int YP, int WP, int HP, int &cx, int &cy,
#elif defined(__APPLE__) || defined(USE_X11)
if (!id_) id_ = fl_create_bitmask(w(), h(), array);
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: call the right funtion to create a bitmap"
+# pragma message "FL_PORTING: call the right function to create a bitmap"
#endif
return 0;
}
@@ -353,7 +353,7 @@ void Fl_GDI_Printer_Graphics_Driver::draw(Fl_Bitmap *bm, int XP, int YP, int WP,
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement Fl_Xlib_Graphics_Driver::draw()"
+# pragma message "FL_PORTING: implement Fl_xxx_Graphics_Driver::draw()"
#else // Xlib
void Fl_Xlib_Graphics_Driver::draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy) {
@@ -388,7 +388,7 @@ void Fl_Bitmap::uncache() {
#elif defined(WIN32) || defined(USE_X11)
fl_delete_bitmask((Fl_Offscreen)id_);
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: call the right funtion to create a bitmask"
+# pragma message "FL_PORTING: call the right function to create a bitmask"
#endif
id_ = 0;
}
diff --git a/src/Fl_Copy_Surface.cxx b/src/Fl_Copy_Surface.cxx
index b1fe45725..04dbc8564 100644
--- a/src/Fl_Copy_Surface.cxx
+++ b/src/Fl_Copy_Surface.cxx
@@ -98,7 +98,7 @@ Fl_Copy_Surface::Fl_Copy_Surface(int w, int h) : Fl_Surface_Device(NULL)
SetBkMode(gc, TRANSPARENT);
}
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: initialize memebrs of Fl_Copy_Surface"
+# pragma message "FL_PORTING: initialize members of Fl_Copy_Surface"
#else // Xlib
helper = new Fl_Xlib_Surface_();
driver(helper->driver());
@@ -136,7 +136,7 @@ Fl_Copy_Surface::~Fl_Copy_Surface()
fl_gc = oldgc;
delete (Fl_GDI_Surface_*)helper;
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: free resources in destructo of Fl_Copy_Surface"
+# pragma message "FL_PORTING: free resources in destructor of Fl_Copy_Surface"
#else // Xlib
fl_pop_clip();
unsigned char *data = fl_read_image(NULL,0,0,width,height,0);
diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx
index 397507a95..9bf3db289 100644
--- a/src/Fl_Double_Window.cxx
+++ b/src/Fl_Double_Window.cxx
@@ -109,7 +109,7 @@ void fl_copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx
#elif defined(__APPLE__)
((Fl_Quartz_Graphics_Driver*)fl_graphics_driver)->copy_offscreen(x, y, w, h, pixmap, srcx, srcy);
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: call our version of fl_copy_offscreen"
+# pragma message "FL_PORTING: call your version of fl_copy_offscreen here"
#endif
}
else { // when copy is not to the display
diff --git a/src/Fl_File_Browser.cxx b/src/Fl_File_Browser.cxx
index a1a114f76..4ee1188cd 100644
--- a/src/Fl_File_Browser.cxx
+++ b/src/Fl_File_Browser.cxx
@@ -28,7 +28,7 @@
#if defined(WIN32) || defined(__APPLE__)
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement the iternals of your file browser here"
+# pragma message "FL_PORTING: implement the internals of your file browser here"
#else
#endif
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx
index 756aedf73..2144e74af 100644
--- a/src/Fl_File_Chooser2.cxx
+++ b/src/Fl_File_Chooser2.cxx
@@ -359,7 +359,7 @@
#if defined(WIN32) || defined(__APPLE__)
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement the internal of your filechooser here"
+# pragma message "FL_PORTING: implement the internals of your filechooser here"
#else
#endif
diff --git a/src/Fl_own_colormap.cxx b/src/Fl_own_colormap.cxx
index d9eee2bb2..1423978f1 100644
--- a/src/Fl_own_colormap.cxx
+++ b/src/Fl_own_colormap.cxx
@@ -48,7 +48,7 @@ void Fl::own_colormap() {}
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement color map handling if you don;t have an RGB screen"
+# pragma message "FL_PORTING: implement color map handling if you don't have an RGB screen"
#else
// X version
diff --git a/src/filename_ext.cxx b/src/filename_ext.cxx
index 406420e07..6f64582ba 100644
--- a/src/filename_ext.cxx
+++ b/src/filename_ext.cxx
@@ -23,7 +23,7 @@
#ifdef WIN32
#elif defined(__APPLE__)
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement directory and filename handling for your platfomr if needed"
+# pragma message "FL_PORTING: implement directory and filename handling for your platform if needed"
#else // X11
#endif
diff --git a/src/filename_isdir.cxx b/src/filename_isdir.cxx
index e27c0ee37..8737d0993 100644
--- a/src/filename_isdir.cxx
+++ b/src/filename_isdir.cxx
@@ -28,7 +28,7 @@
#ifdef WIN32
#elif defined(__APPLE__)
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement directory and filename handling for your platfomr if needed"
+# pragma message "FL_PORTING: implement directory and filename handling for your platform if needed"
#else // X11
#endif
diff --git a/src/filename_list.cxx b/src/filename_list.cxx
index d65ddcdd3..926a28d6b 100644
--- a/src/filename_list.cxx
+++ b/src/filename_list.cxx
@@ -29,7 +29,7 @@
#ifdef WIN32
#elif defined(__APPLE__)
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement directory and filename handling for your platfomr if needed"
+# pragma message "FL_PORTING: implement directory and filename handling for your platform if needed"
#else // X11
#endif
diff --git a/src/fl_font.cxx b/src/fl_font.cxx
index f8feba035..4e6fb4de6 100644
--- a/src/fl_font.cxx
+++ b/src/fl_font.cxx
@@ -52,7 +52,7 @@
#elif USE_XFT
# include "fl_font_xft.cxx"
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement font handling specific in its own file"
+# pragma message "FL_PORTING: implement font handling specifics in its own file"
#else
# include "fl_font_x.cxx"
#endif // WIN32
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx
index 29d36abce..034615d44 100644
--- a/src/fl_rect.cxx
+++ b/src/fl_rect.cxx
@@ -35,7 +35,7 @@
#if defined(WIN32) || defined(__APPLE__)
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement al the line drawing functions below"
+# pragma message "FL_PORTING: implement all the line drawing functions below"
#else
#endif
diff --git a/src/fl_utf.c b/src/fl_utf.c
index d81ba983d..9850a083c 100644
--- a/src/fl_utf.c
+++ b/src/fl_utf.c
@@ -24,7 +24,7 @@
#if defined(WIN32) || defined(__APPLE__)
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: llok out for some unicode functions here. Default should be fine though."
+# pragma message "FL_PORTING: look out for some unicode functions here. Default should be fine though."
#else
#endif
diff --git a/test/blocks.cxx b/test/blocks.cxx
index c9bab7456..f0359e0cf 100644
--- a/test/blocks.cxx
+++ b/test/blocks.cxx
@@ -36,7 +36,7 @@
#if defined(WIN32) || defined(__APPLE__)
#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: FLTK does not provide cross platform access to system sound"
+# pragma message "FL_PORTING: FLTK does not provide cross platform sound support"
#else
#endif