diff --git a/tools/lammps-gui/lammpsgui.cpp b/tools/lammps-gui/lammpsgui.cpp index b313dfe727..98fe81a048 100644 --- a/tools/lammps-gui/lammpsgui.cpp +++ b/tools/lammps-gui/lammpsgui.cpp @@ -57,7 +57,7 @@ static const QString blank(" "); static constexpr int MAXRECENT = 5; -static constexpr int BUFLEN = 128; +static constexpr int BUFLEN = 128; // duplicate string static char *mystrdup(const std::string &text) @@ -311,8 +311,7 @@ LammpsGui::LammpsGui(QWidget *parent, const char *filename) : int ncmds = lammps.style_count("command"); char buf[BUFLEN]; for (int i = 0; i < ncmds; ++i) { - if (lammps.style_name("command", i, buf, BUFLEN)) - command_list << buf; + if (lammps.style_name("command", i, buf, BUFLEN)) command_list << buf; } command_list.sort(); ui->textEdit->setCommandList(command_list); diff --git a/tools/lammps-gui/periodic_table.h b/tools/lammps-gui/periodic_table.h index 22138c19ad..70721dee95 100644 --- a/tools/lammps-gui/periodic_table.h +++ b/tools/lammps-gui/periodic_table.h @@ -1,3 +1,4 @@ +// clang-format off /*************************************************************************** * RCS INFORMATION: *