projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to wx3.0, add SSE optimizations based on target_cpu, fix compile warnings
[ctsim.git]
/
libctsim
/
phantom.cpp
diff --git
a/libctsim/phantom.cpp
b/libctsim/phantom.cpp
index ba4b0e43561de92191e50a6bf9f981cffdf41063..540adf8022ce91b82141ffafc755f9cbb737075c 100644
(file)
--- a/
libctsim/phantom.cpp
+++ b/
libctsim/phantom.cpp
@@
-115,13
+115,13
@@
Phantom::convertNameToPhantomID (const char* const phmName)
{
int id = PHM_INVALID;
- for (int i = 0; i < s_iPhantomCount; i++)
+ for (int i = 0; i < s_iPhantomCount; i++)
{
if (strcasecmp (phmName, s_aszPhantomName[i]) == 0) {
id = i;
break;
}
-
-
return (id);
+ }
+ return (id);
}