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

typos

parent ab8fb29a
Branches
Tags
No related merge requests found
// $Id: CutMap.cpp,v 1.17 2001-08-06 10:52:52 geuzaine Exp $ // $Id: CutMap.cpp,v 1.18 2001-08-06 11:00:26 geuzaine Exp $
#include "CutMap.h" #include "CutMap.h"
#include "List.h" #include "List.h"
...@@ -73,7 +73,7 @@ Post_View *GMSH_CutMapPlugin::execute (Post_View *v) ...@@ -73,7 +73,7 @@ Post_View *GMSH_CutMapPlugin::execute (Post_View *v)
else{ else{
if(!v && iView < 0) iView = 0; if(!v && iView < 0) iView = 0;
if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){ if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){
Msg(WARNING,"Plugin CutMap: View[%d] does not exist",iView); Msg(WARNING,"View[%d] does not exist",iView);
return 0; return 0;
} }
} }
......
// $Id: CutPlane.cpp,v 1.15 2001-08-06 10:52:52 geuzaine Exp $ // $Id: CutPlane.cpp,v 1.16 2001-08-06 11:00:26 geuzaine Exp $
#include "CutPlane.h" #include "CutPlane.h"
#include "List.h" #include "List.h"
...@@ -79,7 +79,7 @@ Post_View *GMSH_CutPlanePlugin::execute (Post_View *v) ...@@ -79,7 +79,7 @@ Post_View *GMSH_CutPlanePlugin::execute (Post_View *v)
else{ else{
if(!v && iView < 0) iView = 0; if(!v && iView < 0) iView = 0;
if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){ if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){
Msg(WARNING,"Plugin CutPlane: View[%d] does not exist",iView); Msg(WARNING,"View[%d] does not exist",iView);
return 0; return 0;
} }
} }
......
// $Id: CutSphere.cpp,v 1.14 2001-08-06 10:52:52 geuzaine Exp $ // $Id: CutSphere.cpp,v 1.15 2001-08-06 11:00:26 geuzaine Exp $
#include <string.h> #include <string.h>
#include "CutSphere.h" #include "CutSphere.h"
...@@ -80,7 +80,7 @@ Post_View *GMSH_CutSpherePlugin::execute (Post_View *v) ...@@ -80,7 +80,7 @@ Post_View *GMSH_CutSpherePlugin::execute (Post_View *v)
else{ else{
if(!v && iView < 0) iView = 0; if(!v && iView < 0) iView = 0;
if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){ if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){
Msg(WARNING,"Plugin CutSphere: View[%d] does not exist",iView); Msg(WARNING,"View[%d] does not exist",iView);
return 0; return 0;
} }
} }
......
// $Id: LevelsetPlugin.cpp,v 1.10 2001-08-06 10:35:47 geuzaine Exp $ // $Id: LevelsetPlugin.cpp,v 1.11 2001-08-06 11:00:26 geuzaine Exp $
#include "LevelsetPlugin.h" #include "LevelsetPlugin.h"
#include "List.h" #include "List.h"
...@@ -97,13 +97,11 @@ Post_View *GMSH_LevelsetPlugin::execute (Post_View *v) ...@@ -97,13 +97,11 @@ Post_View *GMSH_LevelsetPlugin::execute (Post_View *v)
sprintf(filename,"cut-%s",v->FileName); sprintf(filename,"cut-%s",v->FileName);
EndView(1, filename, name); EndView(1, filename, name);
Msg(INFO, "Levelset: created view '%s' (%d triangles)", name, View->NbST); Msg(INFO, "Created view '%s' (%d triangles)", name, View->NbST);
processed = View; processed = View;
return View; return View;
} }
Msg(INFO, "Levelset plugin: nothing to do");
return 0; return 0;
} }
......
// $Id: Plugin.cpp,v 1.18 2001-08-06 08:09:51 geuzaine Exp $ // $Id: Plugin.cpp,v 1.19 2001-08-06 11:00:26 geuzaine Exp $
#ifndef _NODLL #ifndef _NODLL
#include <dlfcn.h> #include <dlfcn.h>
...@@ -146,7 +146,7 @@ void GMSH_PluginManager::AddPlugin( char *dirName, char *pluginName){ ...@@ -146,7 +146,7 @@ void GMSH_PluginManager::AddPlugin( char *dirName, char *pluginName){
char plugin_help[256]; char plugin_help[256];
class GMSH_Plugin* (*RegisterPlugin)(void); class GMSH_Plugin* (*RegisterPlugin)(void);
sprintf(dynamic_lib,"%s%s%s",dirName,SLASH,pluginName); sprintf(dynamic_lib,"%s%s%s",dirName,SLASH,pluginName);
Msg(INFO,"Opening Plugin %s",dynamic_lib); Msg(INFO,"Opening Plugin '%s'",dynamic_lib);
void *hlib = dlopen (dynamic_lib,RTLD_NOW); void *hlib = dlopen (dynamic_lib,RTLD_NOW);
char *err = dlerror(); char *err = dlerror();
if(hlib == NULL){ if(hlib == NULL){
......
// $Id: Skin.cpp,v 1.4 2001-08-06 10:52:52 geuzaine Exp $ // $Id: Skin.cpp,v 1.5 2001-08-06 11:00:26 geuzaine Exp $
#include "Plugin.h" #include "Plugin.h"
#include "Skin.h" #include "Skin.h"
...@@ -120,7 +120,7 @@ Post_View *GMSH_SkinPlugin::execute (Post_View *v) ...@@ -120,7 +120,7 @@ Post_View *GMSH_SkinPlugin::execute (Post_View *v)
else{ else{
if(!v && iView < 0) iView = 0; if(!v && iView < 0) iView = 0;
if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){ if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){
Msg(WARNING,"Plugin Skin: View[%d] does not exist",iView); Msg(WARNING,"View[%d] does not exist",iView);
return 0; return 0;
} }
} }
...@@ -150,7 +150,7 @@ Post_View *GMSH_SkinPlugin::execute (Post_View *v) ...@@ -150,7 +150,7 @@ Post_View *GMSH_SkinPlugin::execute (Post_View *v)
sprintf(name,"skin-%s",vv->Name); sprintf(name,"skin-%s",vv->Name);
sprintf(filename,"skin-%s",vv->FileName); sprintf(filename,"skin-%s",vv->FileName);
EndView(1, filename, name); EndView(1, filename, name);
Msg(INFO, "Skin: created view '%s' (%d triangles)", name, View->NbST); Msg(INFO, "Created view '%s' (%d triangles)", name, View->NbST);
return View; return View;
} }
......
// $Id: Transform.cpp,v 1.4 2001-08-06 10:52:52 geuzaine Exp $ // $Id: Transform.cpp,v 1.5 2001-08-06 11:00:26 geuzaine Exp $
#include "Plugin.h" #include "Plugin.h"
#include "Transform.h" #include "Transform.h"
...@@ -98,7 +98,7 @@ Post_View *GMSH_TransformPlugin::execute (Post_View *v) ...@@ -98,7 +98,7 @@ Post_View *GMSH_TransformPlugin::execute (Post_View *v)
else{ else{
if(!v && iView < 0) iView = 0; if(!v && iView < 0) iView = 0;
if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){ if(!(vv = (Post_View*)List_Pointer_Test(Post_ViewList,iView))){
Msg(WARNING,"Plugin Transform: View[%d] does not exist",iView); Msg(WARNING,"View[%d] does not exist",iView);
return 0; return 0;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment