viewer: Fix typos in comments

All of them were found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2015-11-04 09:54:21 +01:00
parent 29f36d9264
commit 053403ecdb
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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);