Skip to content

Commit

Permalink
Refactor|libgui: Use RecordAccessor's get*() methods
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed May 30, 2014
1 parent eb77a29 commit 6054bb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/libgui/src/graphics/colorbank.cpp
Expand Up @@ -38,11 +38,11 @@ DENG2_PIMPL(ColorBank)
ArrayValue const *colorDef = 0;
if(def.has("rgb"))
{
colorDef = &def["rgb"].value<ArrayValue>();
colorDef = &def.geta("rgb");
}
else
{
colorDef = &def["rgba"].value<ArrayValue>();
colorDef = &def.geta("rgba");
}

ddouble alpha = 1.0;
Expand Down

0 comments on commit 6054bb0

Please sign in to comment.