From a04c8c8a3b09943ab08702e94ae831b9609767f7 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 16 Oct 2020 22:46:20 -0400 Subject: [PATCH] fix typo --- tools/lammps-shell/lammps-shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lammps-shell/lammps-shell.cpp b/tools/lammps-shell/lammps-shell.cpp index c1f9d2ffbd..d4d3b291b6 100644 --- a/tools/lammps-shell/lammps-shell.cpp +++ b/tools/lammps-shell/lammps-shell.cpp @@ -681,7 +681,7 @@ int main(int argc, char **argv) // switch to the user's documents directory. Avoid buffer overflow // and skip this step if the path is too long for our buffer. if (getcwd(buf, buflen)) { - if ((strstr(buf, "System32") || strstr(buf, "system32")) { + if ((strstr(buf, "System32") || strstr(buf, "system32"))) { char *drive = getenv("HOMEDRIVE"); char *path = getenv("HOMEPATH"); buf[0] = '\0';