Skip to content

Commit

Permalink
Change AF_ERR_ARG to AF_ERR_INTERNAL in chart axes limits
Browse files Browse the repository at this point in the history
  • Loading branch information
shehzan10 committed Nov 3, 2016
1 parent cbc2b3b commit 3d269e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/c/graphics_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ bool ForgeManager::getChartAxesOverride(forge::Chart* chart)
{
ChartAxesOverrideIter iter = mChartAxesOverrideMap.find(chart);
if (iter == mChartAxesOverrideMap.end()) {
AF_ERROR("Chart Not Found!", AF_ERR_ARG);
AF_ERROR("Chart Not Found!", AF_ERR_INTERNAL);
}
return mChartAxesOverrideMap[chart];
}
Expand All @@ -437,7 +437,7 @@ void ForgeManager::setChartAxesOverride(forge::Chart* chart, bool flag)
{
ChartAxesOverrideIter iter = mChartAxesOverrideMap.find(chart);
if (iter == mChartAxesOverrideMap.end()) {
AF_ERROR("Chart Not Found!", AF_ERR_ARG);
AF_ERROR("Chart Not Found!", AF_ERR_INTERNAL);
}
mChartAxesOverrideMap[chart] = flag;
}
Expand Down

0 comments on commit 3d269e8

Please sign in to comment.