diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-16 11:50:53 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-16 11:50:53 -0500 |
| commit | a0a6c2b11228f05f1a98879e0e52e04df0bf119f (patch) | |
| tree | c4ffdef61ef59bd849635386ecc6fe7d417fc3e6 | |
| parent | 03fce2feabc866ec2c90d03b0f189021237f714f (diff) | |
Fixed some punctuation errors.
| -rw-r--r-- | wintable/new/select.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wintable/new/select.h b/wintable/new/select.h index 991fb49..9be5c89 100644 --- a/wintable/new/select.h +++ b/wintable/new/select.h @@ -14,13 +14,13 @@ static void doselect(struct table *t, intptr_t row, intptr_t column) // check existing selection to see if it's valid if (t->selectedRow == -1 && t->selectedColumn != -1) - panic("sanity check failure: old Table selection invalid (row == -1, column != -1"); + panic("sanity check failure: old Table selection invalid (row == -1, column != -1)"); if (t->selectedRow != -1 && t->selectedColumn == -1) - panic("sanity check failure: old Table selection invalid (row != -1, column == -1"); + panic("sanity check failure: old Table selection invalid (row != -1, column == -1)"); if (t->selectedRow >= t->count) panic("sanity check failure: old Table selection invalid (row out of range)"); if (t->selectedColumn >= t->nColumns) - panic("sanity check failure: old Table selection invalid (column out of range"); + panic("sanity check failure: old Table selection invalid (column out of range)"); oldrow = t->selectedRow; t->selectedRow = row; @@ -28,13 +28,13 @@ static void doselect(struct table *t, intptr_t row, intptr_t column) // check new selection to see if it's valid if (t->selectedRow == -1 && t->selectedColumn != -1) - panic("sanity check failure: new Table selection invalid (row == -1, column != -1"); + panic("sanity check failure: new Table selection invalid (row == -1, column != -1)"); if (t->selectedRow != -1 && t->selectedColumn == -1) - panic("sanity check failure: new Table selection invalid (row != -1, column == -1"); + panic("sanity check failure: new Table selection invalid (row != -1, column == -1)"); if (t->selectedRow >= t->count) panic("sanity check failure: new Table selection invalid (row out of range)"); if (t->selectedColumn >= t->nColumns) - panic("sanity check failure: new Table selection invalid (column out of range"); + panic("sanity check failure: new Table selection invalid (column out of range)"); if (GetClientRect(t->hwnd, &client) == 0) panic("error getting Table client rect in doselect()"); |
