diff --git a/apps/openmw/mwgui/spellicons.cpp b/apps/openmw/mwgui/spellicons.cpp index 93727ed7f..3b3057248 100644 --- a/apps/openmw/mwgui/spellicons.cpp +++ b/apps/openmw/mwgui/spellicons.cpp @@ -190,11 +190,11 @@ namespace MWGui (it->first >= 28 && it->first <= 36) || // Weakness effects (it->first >= 90 && it->first <= 99) ); // Resistance effects - sourcesDescription += ": " + boost::lexical_cast(effectIt->mMagnitude) + " "; + sourcesDescription += ": " + boost::lexical_cast(effectIt->mMagnitude); if ( usePct ) sourcesDescription += pct; else - sourcesDescription += ((effectIt->mMagnitude > 1) ? pts : pt); + sourcesDescription += " " + ((effectIt->mMagnitude > 1) ? pts : pt); } } } diff --git a/apps/openmw/mwgui/widgets.cpp b/apps/openmw/mwgui/widgets.cpp index e46838a64..e942aa703 100644 --- a/apps/openmw/mwgui/widgets.cpp +++ b/apps/openmw/mwgui/widgets.cpp @@ -447,15 +447,15 @@ namespace MWGui (mEffectParams.mEffectID >= 28 && mEffectParams.mEffectID <= 36) || // Weakness effects (mEffectParams.mEffectID >= 90 && mEffectParams.mEffectID <= 99) ); // Resistance effects if (mEffectParams.mMagnMin == mEffectParams.mMagnMax) - spellLine += " " + boost::lexical_cast(mEffectParams.mMagnMin) + " "; + spellLine += " " + boost::lexical_cast(mEffectParams.mMagnMin); else { - spellLine += " " + boost::lexical_cast(mEffectParams.mMagnMin) + to + boost::lexical_cast(mEffectParams.mMagnMax) + " "; + spellLine += " " + boost::lexical_cast(mEffectParams.mMagnMin) + to + boost::lexical_cast(mEffectParams.mMagnMax); } if ( usePct ) spellLine += pct; else - spellLine += ((mEffectParams.mMagnMin == 1 && mEffectParams.mMagnMax == 1) ? pt : pts ); + spellLine += " " + ((mEffectParams.mMagnMin == 1 && mEffectParams.mMagnMax == 1) ? pt : pts ); } }