From 61bd704585ebb0a1df7727308a781c9f16d7c252 Mon Sep 17 00:00:00 2001 From: gforney Date: Sun, 2 Aug 2026 10:50:43 -0400 Subject: [PATCH 1/2] smokeview source: remove blanks between switch and ( --- Source/smokeview/command_args.c | 2 +- Source/smokeview/glui_bounds.cpp | 2 +- Source/smokeview/glui_display.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/smokeview/command_args.c b/Source/smokeview/command_args.c index 3a5b56bc8..5cadc3ab7 100644 --- a/Source/smokeview/command_args.c +++ b/Source/smokeview/command_args.c @@ -16,7 +16,7 @@ const char *CLE_Message(enum CommandLineError cle, char *message){ char message_local[80]; - switch (cle){ + switch(cle){ case CLE_OK: return NULL; break; diff --git a/Source/smokeview/glui_bounds.cpp b/Source/smokeview/glui_bounds.cpp index ac76569ca..ce4d43ac5 100644 --- a/Source/smokeview/glui_bounds.cpp +++ b/Source/smokeview/glui_bounds.cpp @@ -4673,7 +4673,7 @@ void GLUIShowHideGeomDataCB(int var){ int i; int nn=MIN(global_scase.meshescoll.nmeshes,256); - switch (var){ + switch(var){ case SHOW_ALL_MESH_GEOM: for(i=0; iset_int_val(1); diff --git a/Source/smokeview/glui_display.cpp b/Source/smokeview/glui_display.cpp index 333baa126..398fce961 100644 --- a/Source/smokeview/glui_display.cpp +++ b/Source/smokeview/glui_display.cpp @@ -773,7 +773,7 @@ extern "C" void GLUISkyCB(int var){ GLUIUpdateFarclip(); } - switch (var){ + switch(var){ case SKY_BOX: if(sky_diam<1.0){ sky_diam = 1.0; From 2b4f81c433eb4a4d20ae85d0a294997a0586da62 Mon Sep 17 00:00:00 2001 From: gforney Date: Sun, 2 Aug 2026 10:51:04 -0400 Subject: [PATCH 2/2] set_path source: remove blanks between switch and ( --- Source/set_path/main.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/set_path/main.c b/Source/set_path/main.c index a40a1739a..9c7a5fdd1 100644 --- a/Source/set_path/main.c +++ b/Source/set_path/main.c @@ -37,7 +37,7 @@ void backup_path(char *path_type_local, char *pathbuffer){ strcpy(filebase,path_type_local); strcat(filebase,"_path_backup"); - for(i=0;i<=100;i++){ + for(i=0; i<=100; i++){ if(i==0){ strcpy(file,filebase); strcat(file,".txt"); @@ -133,8 +133,7 @@ int main(int argc, char **argv){ return 1; } - - for(i=1;i