Skip to content

Commit

Permalink
viewer: Fix typos in comments
Browse files Browse the repository at this point in the history
All of them were found by codespell.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Nov 4, 2015
1 parent 29f36d9 commit 053403e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions viewer/scrollview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion viewer/scrollview.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 053403e

Please sign in to comment.