Skip to content
Snippets Groups Projects
Commit 2d0aaea0 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

typos

parent 7130e8e0
Branches
Tags
No related merge requests found
/* $Id: Box.cpp,v 1.13 2000-12-09 22:26:12 geuzaine Exp $ */ /* $Id: Box.cpp,v 1.14 2000-12-19 08:56:52 geuzaine Exp $ */
#include <signal.h> #include <signal.h>
...@@ -77,10 +77,10 @@ void Info (int level, char *arg0){ ...@@ -77,10 +77,10 @@ void Info (int level, char *arg0){
fprintf(stderr, gmsh_help, arg0); fprintf(stderr, gmsh_help, arg0);
exit(1); exit(1);
case 1: case 1:
fprintf(stderr, "%g\n", GMSH_VERSION); fprintf(stderr, "%.3f\n", GMSH_VERSION);
exit(1) ; exit(1) ;
case 2: case 2:
fprintf(stderr, "%s%g\n", gmsh_version, GMSH_VERSION); fprintf(stderr, "%s%.3f\n", gmsh_version, GMSH_VERSION);
fprintf(stderr, "%s\n", gmsh_os); fprintf(stderr, "%s\n", gmsh_os);
fprintf(stderr, "%s\n", gmsh_date); fprintf(stderr, "%s\n", gmsh_date);
fprintf(stderr, "%s\n", gmsh_host); fprintf(stderr, "%s\n", gmsh_host);
......
/* $Id: Verif.cpp,v 1.4 2000-12-17 21:17:29 remacle Exp $ */ /* $Id: Verif.cpp,v 1.5 2000-12-19 08:56:54 geuzaine Exp $ */
#include "Gmsh.h" #include "Gmsh.h"
#include "Geo.h" #include "Geo.h"
...@@ -277,7 +277,7 @@ void PremierVolume(int iSurf, int *iVol){ ...@@ -277,7 +277,7 @@ void PremierVolume(int iSurf, int *iVol){
} }
} }
} }
if(*iVol = 0)*iVol = iSurf; if(*iVol == 0) *iVol = iSurf;
List_Delete(temp); List_Delete(temp);
} }
......
/* $Id: Main.cpp,v 1.29 2000-12-14 13:10:55 geuzaine Exp $ */ /* $Id: Main.cpp,v 1.30 2000-12-19 08:56:56 geuzaine Exp $ */
#include <signal.h> #include <signal.h>
...@@ -465,12 +465,12 @@ void Get_Options (int argc, char *argv[], int *nbfiles) { ...@@ -465,12 +465,12 @@ void Get_Options (int argc, char *argv[], int *nbfiles) {
} }
else if(!strcmp(argv[i]+1, "version") || else if(!strcmp(argv[i]+1, "version") ||
!strcmp(argv[i]+1, "-version")){ !strcmp(argv[i]+1, "-version")){
fprintf(stderr, "%g\n", GMSH_VERSION); fprintf(stderr, "%.3f\n", GMSH_VERSION);
exit(1); exit(1);
} }
else if(!strcmp(argv[i]+1, "info") || else if(!strcmp(argv[i]+1, "info") ||
!strcmp(argv[i]+1, "-info")){ !strcmp(argv[i]+1, "-info")){
fprintf(stderr, "%s%g\n", gmsh_version, GMSH_VERSION); fprintf(stderr, "%s%.3f\n", gmsh_version, GMSH_VERSION);
fprintf(stderr, "%s\n", gmsh_os); fprintf(stderr, "%s\n", gmsh_os);
fprintf(stderr, "%s\n", gmsh_date); fprintf(stderr, "%s\n", gmsh_date);
fprintf(stderr, "%s\n", gmsh_host); fprintf(stderr, "%s\n", gmsh_host);
...@@ -536,7 +536,7 @@ int main(int argc, char *argv[]){ ...@@ -536,7 +536,7 @@ int main(int argc, char *argv[]){
Get_Options(argc, argv, &nbf); Get_Options(argc, argv, &nbf);
if(CTX.verbosity) if(CTX.verbosity)
fprintf(stderr, "%s, Version %g\n", gmsh_progname, GMSH_VERSION); fprintf(stderr, "%s, Version %.3f\n", gmsh_progname, GMSH_VERSION);
/* Initialize the static Mesh */ /* Initialize the static Mesh */
...@@ -592,7 +592,7 @@ int main(int argc, char *argv[]){ ...@@ -592,7 +592,7 @@ int main(int argc, char *argv[]){
/* Text for about window */ /* Text for about window */
sprintf(TextAbout, "%s\n \n%s%g\n%s\n%s\n%s\n%s\n%s\n%s\n \n%s\n \n" sprintf(TextAbout, "%s\n \n%s%.3f\n%s\n%s\n%s\n%s\n%s\n%s\n \n%s\n \n"
"Type 'gmsh -help' for command line options", "Type 'gmsh -help' for command line options",
gmsh_progname, gmsh_version, GMSH_VERSION, gmsh_progname, gmsh_version, GMSH_VERSION,
gmsh_os, gmsh_date, gmsh_host, gmsh_packager, gmsh_os, gmsh_date, gmsh_host, gmsh_packager,
...@@ -854,7 +854,7 @@ int main(int argc, char *argv[]){ ...@@ -854,7 +854,7 @@ int main(int argc, char *argv[]){
TextBuffer = (char*)Malloc(1024*sizeof(char)); TextBuffer = (char*)Malloc(1024*sizeof(char));
Msg(STATUS, "Ready"); Msg(STATUS, "Ready");
Msg(SELECT, "Gmsh %g", GMSH_VERSION); Msg(SELECT, "Gmsh %.3f", GMSH_VERSION);
/* Open input file */ /* Open input file */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment