Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F411
mitkStepper.h.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
riccobene
Dec 17 2009, 11:07 AM
2009-12-17 11:07:01 (UTC+1)
Size
372 B
Referenced Files
None
Subscribers
None
mitkStepper.h.patch
View Options
63c63,73
< if (this->m_Pos != (pos > m_Steps-1 ? m_Steps-1 : pos))
---
> unsigned int newPos;
> if ( m_Steps != 0 )
> {
> newPos = (pos > m_Steps-1 ? m_Steps-1 : pos);
> }
> else
> {
> newPos = 0;
> }
>
> if (this->m_Pos != newPos )
65c75
< this->m_Pos = pos > m_Steps-1 ? m_Steps-1 : pos ;
---
> this->m_Pos = newPos ;
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
395
Default Alt Text
mitkStepper.h.patch (372 B)
Attached To
Mode
No data available.
Event Timeline
•
riccobene
added a comment.
Dec 17 2009, 11:07 AM
2009-12-17 11:07:01 (UTC+1)
Comment Actions
patch for mitkStepper.h
Log In to Comment