Skip to content

Commit a40048a

Browse files
committed
Fixed ASCII typo
1 parent 328eeb7 commit a40048a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

qt/buffer_table_model.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ QVariant BufferTableModel::data(const QModelIndex &index, int role) const
4545
QChar('0')));
4646
}
4747
return hexString;
48-
case HEADER_ANCII_COL:
48+
case HEADER_ASCII_COL:
4949
start = static_cast<uint32_t>(index.row()) * ROW_DATA_SIZE;
5050
end = start + ROW_DATA_SIZE;
5151

@@ -76,8 +76,8 @@ QVariant BufferTableModel::headerData(int section, Qt::Orientation orientation,
7676
return QString("ADDRESS");
7777
case HEADER_HEX_COL:
7878
return QString("HEX");
79-
case HEADER_ANCII_COL:
80-
return QString("ANCII");
79+
case HEADER_ASCII_COL:
80+
return QString("ASCII");
8181
}
8282
}
8383
}

qt/buffer_table_model.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#define HEADER_ADDRESS_COL 0
1212
#define HEADER_HEX_COL 1
13-
#define HEADER_ANCII_COL 2
13+
#define HEADER_ASCII_COL 2
1414

1515
#define ROW_DATA_SIZE 16
1616

0 commit comments

Comments
 (0)