diff options
Diffstat (limited to 'gtk')
| -rwxr-xr-x | gtk/PlatGTK.cxx | 6 | ||||
| -rwxr-xr-x | gtk/ScintillaGTK.cxx | 6 | 
2 files changed, 6 insertions, 6 deletions
| diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index d80daad63..680caf081 100755 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -302,7 +302,7 @@ bool SurfaceImpl::Initialised() {  	if (inited && context) {  		if (cairo_status(context) == CAIRO_STATUS_SUCCESS) {  			// Even when status is success, the target surface may have been -			// finished whch may cause an assertion to fail crashing the application. +			// finished which may cause an assertion to fail crashing the application.  			// The cairo_surface_has_show_text_glyphs call checks the finished flag  			// and when set, sets the status to CAIRO_STATUS_SURFACE_FINISHED  			// which leads to warning messages instead of crashes. @@ -1381,13 +1381,13 @@ static gboolean ButtonRelease(GtkWidget *, GdkEventButton *ev, gpointer p) {  	return FALSE;  } -/* Change the active color to the selected color so the listbox uses the color +/* Change the active colour to the selected colour so the listbox uses the colour  scheme that it would use if it had the focus. */  static void StyleSet(GtkWidget *w, GtkStyle *, void *) {  	g_return_if_fail(w != nullptr); -	/* Copy the selected color to active.  Note that the modify calls will cause +	/* Copy the selected colour to active.  Note that the modify calls will cause  	recursive calls to this function after the value is updated and w->style to  	be set to a new object */ diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 2d8a4b847..feb2ec11b 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1532,7 +1532,7 @@ void ScintillaGTK::GetSelection(GtkSelectionData *selection_data, guint info, Se  	// As I can not work out how to store data on the clipboard in multiple formats  	// and need some way to mark the clipping as being stream or rectangular,  	// the terminating \0 is included in the length for rectangular clippings. -	// All other tested aplications behave benignly by ignoring the \0. +	// All other tested applications behave benignly by ignoring the \0.  	// The #if is here because on Windows cfColumnSelect clip entry is used  	// instead as standard indicator of rectangularness (so no need to kludge)  	const char *textData = text->Data(); @@ -1749,7 +1749,7 @@ gint ScintillaGTK::PressThis(GdkEventButton *event) {  		if (event->button == 1) {  #if PLAT_GTK_MACOSX  			const bool meta = ctrl; -			// GDK reports the Command modifer key as GDK_MOD2_MASK for button events, +			// GDK reports the Command modifier key as GDK_MOD2_MASK for button events,  			// not GDK_META_MASK like in key events.  			ctrl = (event->state & GDK_MOD2_MASK) != 0;  #else @@ -1778,7 +1778,7 @@ gint ScintillaGTK::PressThis(GdkEventButton *event) {  			} else {  #if PLAT_GTK_MACOSX  				const bool meta = ctrl; -				// GDK reports the Command modifer key as GDK_MOD2_MASK for button events, +				// GDK reports the Command modifier key as GDK_MOD2_MASK for button events,  				// not GDK_META_MASK like in key events.  				ctrl = (event->state & GDK_MOD2_MASK) != 0;  #else | 
