Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
7ef40c73
Commit
7ef40c73
authored
Sep 03, 2010
by
Mathias Goldau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Missing include for std::max, and portability braces around it
parent
c51cd506
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graphicsEngine/WGEUtils.cpp
src/graphicsEngine/WGEUtils.cpp
+1
-1
No files found.
src/graphicsEngine/WGEUtils.cpp
View file @
7ef40c73
...
...
@@ -155,7 +155,7 @@ WColor wge::createColorFromHSV( int h, float s, float v )
WColor
wge
::
getNthHSVColor
(
int
n
,
int
parts
)
{
parts
=
std
::
max
(
1
,
parts
);
parts
=
(
std
::
max
)
(
1
,
parts
);
if
(
parts
>
360
)
{
parts
=
360
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment