diff --git a/src/ipgp/apps/ew2sc3/ew2sc3.cpp b/src/ipgp/apps/ew2sc3/ew2sc3.cpp index 82f80c30f1..98dc7274b7 100644 --- a/src/ipgp/apps/ew2sc3/ew2sc3.cpp +++ b/src/ipgp/apps/ew2sc3/ew2sc3.cpp @@ -1071,7 +1071,7 @@ int EW2SC3::extractOrigin(char* msg) { p_idx++; } - if ( pPhase.find("S") != string::npos ) { + if ( sPhase.find("S") != string::npos ) { Time st; st.set(to_int(year), to_int(mdhm.substr(0, 2)),