diff --git a/viewer/scrollview.cpp b/viewer/scrollview.cpp index b5bebb644e..275c57fcb7 100644 --- a/viewer/scrollview.cpp +++ b/viewer/scrollview.cpp @@ -44,7 +44,7 @@ const int kSvPort = 8461; const int kMaxMsgSize = 4096; -const int kMaxIntPairSize = 45; // Holds %d,%d, for upto 64 bit. +const int kMaxIntPairSize = 45; // Holds %d,%d, for up to 64 bit. #include "svutil.h" @@ -342,7 +342,7 @@ void* ScrollView::StartEventHandler(void* a) { k = i; } } - // If we didnt find anything we had an old alarm and just sleep again. + // If we didn't find anything we had an old alarm and just sleep again. if (new_event != NULL) { sv->event_table_[k] = NULL; sv->mutex_->Unlock(); diff --git a/viewer/scrollview.h b/viewer/scrollview.h index fe099efcfd..12fac4e5db 100644 --- a/viewer/scrollview.h +++ b/viewer/scrollview.h @@ -327,7 +327,7 @@ class ScrollView { // be unique among menubar eventIDs. void MenuItem(const char* parent, const char* name, int cmdEvent); -// This adds a new checkbox entry, which might initally be flagged. +// This adds a new checkbox entry, which might initially be flagged. void MenuItem(const char* parent, const char* name, int cmdEvent, bool flagged);