Skip to content

Commit

Permalink
Code formatting fix for two more files
Browse files Browse the repository at this point in the history
  • Loading branch information
marisn committed Jul 28, 2024
1 parent 1d6722f commit 8542bac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/maplayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ int msLayerGetFeatureStyle(mapObj *map, layerObj *layer, classObj *c,
msUpdateStyleFromString(c->styles[0], stylestring);
double geo_cellsize = msGetGeoCellSize(map);
msUpdateClassScaleFactor(geo_cellsize, map, layer, c);

if (c->styles[0]->symbolname) {
if ((c->styles[0]->symbol = msGetSymbolIndex(
&(map->symbolset), c->styles[0]->symbolname, MS_TRUE)) == -1) {
Expand Down
3 changes: 2 additions & 1 deletion src/mapserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -3283,7 +3283,8 @@ rectObj msUVRASTERGetSearchRect(layerObj *layer, mapObj *map);
/* ==================================================================== */

MS_DLL_EXPORT double msGetGeoCellSize(const mapObj *map);
MS_DLL_EXPORT void msUpdateClassScaleFactor(double geo_cellsize, const mapObj *map,
MS_DLL_EXPORT void msUpdateClassScaleFactor(double geo_cellsize,
const mapObj *map,
const layerObj *layer, classObj *c);
MS_DLL_EXPORT imageObj *msPrepareImage(mapObj *map, int allow_nonsquare);
MS_DLL_EXPORT imageObj *msDrawMap(mapObj *map, int querymap);
Expand Down

0 comments on commit 8542bac

Please sign in to comment.