File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ void slider::set_max_value(float fMax)
234234 if (fMax != fMaxValue_ )
235235 {
236236 fMaxValue_ = fMax ;
237- if (fMaxValue_ < fMaxValue_ ) fMaxValue_ = fMinValue_ ;
237+ if (fMaxValue_ < fMinValue_ ) fMaxValue_ = fMinValue_ ;
238238 else step_value (fMaxValue_ , fValueStep_ );
239239
240240 if (fValue_ > fMaxValue_ )
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ void status_bar::set_max_value(float fMax)
124124 if (fMax != fMaxValue_ )
125125 {
126126 fMaxValue_ = fMax ;
127- if (fMaxValue_ < fMaxValue_ ) fMaxValue_ = fMinValue_ ;
127+ if (fMaxValue_ < fMinValue_ ) fMaxValue_ = fMinValue_ ;
128128 fValue_ = fValue_ > fMaxValue_ ? fMaxValue_ : (fValue_ < fMinValue_ ? fMinValue_ : fValue_ );
129129 fire_update_bar_texture_ ();
130130 }
Original file line number Diff line number Diff line change @@ -259,7 +259,8 @@ bool uiobject::is_visible() const
259259
260260void uiobject::set_abs_dimensions (uint uiAbsWidth, uint uiAbsHeight)
261261{
262- if (uiAbsWidth_ != uiAbsWidth || !bIsWidthAbs_ || uiAbsHeight_ != uiAbsHeight || !bIsWidthAbs_)
262+ if (uiAbsWidth_ != uiAbsWidth || !bIsWidthAbs_ ||
263+ uiAbsHeight_ != uiAbsHeight || !bIsHeightAbs_)
263264 {
264265 pManager_->notify_object_moved ();
265266 bIsWidthAbs_ = true ;
Original file line number Diff line number Diff line change @@ -784,7 +784,6 @@ std::string state::get_type_name(type mType)
784784void state::get_global (const std::string& sName )
785785{
786786 std::deque<std::string> lDecomposedName;
787- std::string sVarName ;
788787 utils::string_vector lWords = utils::cut (sName , " :" );
789788 utils::string_vector::iterator iter1;
790789 foreach (iter1, lWords)
You can’t perform that action at this time.
0 commit comments