summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2009-02-15 18:58:03 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2009-02-15 18:58:03 +0000
commit648b7e111d03f32f1d5cda2f18de5520f58da3a3 (patch)
tree069423a7657696af289edb1691f9fa744f9e22e3 /src
parente94b388899d16498f44afd1bb965a137345fcf6f (diff)
Fixed typos in documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Gl_Overlay.cxx6
-rw-r--r--src/Fl_Menu_.cxx4
-rw-r--r--src/Fl_Window_fullscreen.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/Fl_Gl_Overlay.cxx b/src/Fl_Gl_Overlay.cxx
index cee88dae9..063f9dc66 100644
--- a/src/Fl_Gl_Overlay.cxx
+++ b/src/Fl_Gl_Overlay.cxx
@@ -51,7 +51,7 @@ void Fl_Gl_Window::make_overlay() {overlay = this;}
// A pointer to this is stored in the "overlay" pointer of the Fl_Gl_Window.
// Under win32 another GLX context is created to draw into the overlay
-// and it is stored in into the "overlay" pointer.
+// and it is stored in the "overlay" pointer.
// In both cases if overlay hardware is unavailable, the overlay is
// "faked" by drawing into the main layers. This is indicated by
@@ -211,7 +211,7 @@ void Fl_Gl_Window::redraw_overlay() {
void Fl_Gl_Window::make_overlay_current() {
make_overlay();
#ifdef __APPLE__
- // this is not very useful, but unfortunatly, Apple decided
+ // this is not very useful, but unfortunately, Apple decided
// that front buffer drawing can no longer (OS X 10.4) be
// supported on their platforms.
make_current();
@@ -230,7 +230,7 @@ void Fl_Gl_Window::make_overlay_current() {
glDrawBuffer(GL_FRONT);
#endif
}
-/** Hides the window if it is not this window, does nothing in WIN32. */
+/** Hides the window if it is not this window, does nothing in WIN32. */
void Fl_Gl_Window::hide_overlay() {
#if HAVE_GL_OVERLAY
#ifdef WIN32
diff --git a/src/Fl_Menu_.cxx b/src/Fl_Menu_.cxx
index b299424f6..19abef626 100644
--- a/src/Fl_Menu_.cxx
+++ b/src/Fl_Menu_.cxx
@@ -127,7 +127,7 @@ int Fl_Menu_::value(const Fl_Menu_Item* m) {
/**
When user picks a menu item, call this. It will do the callback.
- Unfortunatly this also casts away const for the checkboxes, but this
+ Unfortunately this also casts away const for the checkboxes, but this
was necessary so non-checkbox menus can really be declared const...
*/
const Fl_Menu_Item* Fl_Menu_::picked(const Fl_Menu_Item* v) {
@@ -245,7 +245,7 @@ Fl_Menu_* fl_menu_array_owner = 0;
Same as menu(NULL), set the array pointer to null, indicating
a zero-length menu.
- <P>Menus must no be cleared during a callback to the same menu.
+ Menus must not be cleared during a callback to the same menu.
*/
void Fl_Menu_::clear() {
if (alloc) {
diff --git a/src/Fl_Window_fullscreen.cxx b/src/Fl_Window_fullscreen.cxx
index 07795c4e1..c85071308 100644
--- a/src/Fl_Window_fullscreen.cxx
+++ b/src/Fl_Window_fullscreen.cxx
@@ -30,7 +30,7 @@
// manager. Fullscreen still works on some window managers (fvwm is one)
// because they allow the border to be placed off-screen.
-// Unfortunatly most X window managers ignore changes to the border
+// Unfortunately most X window managers ignore changes to the border
// and refuse to position the border off-screen, so attempting to make
// the window full screen will lose the size of the border off the
// bottom and right.