Commit be0c23ef authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 735985 - [PATCH] Fix missing unchecked return value in src/dot.cpp

parent 30870ef9
......@@ -1093,7 +1093,11 @@ bool DotFilePatcher::run()
Map *map = m_maps.at(mapId);
//printf("patching FIG %d in file %s with contents of %s\n",
// mapId,m_patchFile.data(),map->mapFile.data());
writeVecGfxFigure(t,map->label,map->mapFile);
if (!writeVecGfxFigure(t,map->label,map->mapFile))
{
err("problem writing Gfx %d figure!\n",t);
return FALSE;
}
}
else // error invalid map id!
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment