Skip to content

Commit 839cb2b

Browse files
committed
Fixed #7903 (Library Editor doesn't allow to select 'sizeof' as type of Min size of buffer)
1 parent f4dba4a commit 839cb2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui/libraryeditargdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ LibraryEditArgDialog::LibraryEditArgDialog(QWidget *parent, const CppcheckLibrar
2222
ui->minsize2arg2->setEnabled(arg.minsizes.count() >= 2 && arg.minsizes[1].type == "mul");
2323

2424
QStringList items;
25-
items << "None" << "argvalue" << "constant" << "mul" << "strlen";
25+
items << "None" << "argvalue" << "constant" << "mul" << "sizeof" << "strlen";
2626

2727
ui->minsize1type->clear();
2828
ui->minsize1type->addItems(items);

0 commit comments

Comments
 (0)