Skip to content

Commit 053403e

Browse files
committed
viewer: Fix typos in comments
All of them were found by codespell. Signed-off-by: Stefan Weil <[email protected]>
1 parent 29f36d9 commit 053403e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

viewer/scrollview.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
const int kSvPort = 8461;
4646
const int kMaxMsgSize = 4096;
47-
const int kMaxIntPairSize = 45; // Holds %d,%d, for upto 64 bit.
47+
const int kMaxIntPairSize = 45; // Holds %d,%d, for up to 64 bit.
4848

4949
#include "svutil.h"
5050

@@ -342,7 +342,7 @@ void* ScrollView::StartEventHandler(void* a) {
342342
k = i;
343343
}
344344
}
345-
// If we didnt find anything we had an old alarm and just sleep again.
345+
// If we didn't find anything we had an old alarm and just sleep again.
346346
if (new_event != NULL) {
347347
sv->event_table_[k] = NULL;
348348
sv->mutex_->Unlock();

viewer/scrollview.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class ScrollView {
327327
// be unique among menubar eventIDs.
328328
void MenuItem(const char* parent, const char* name, int cmdEvent);
329329

330-
// This adds a new checkbox entry, which might initally be flagged.
330+
// This adds a new checkbox entry, which might initially be flagged.
331331
void MenuItem(const char* parent, const char* name,
332332
int cmdEvent, bool flagged);
333333

0 commit comments

Comments
 (0)