Merge branch 'work' into tomerge

This commit is contained in:
Tim Edwards 2018-05-30 22:52:13 -04:00
commit 91a9b32c19
1 changed files with 4 additions and 1 deletions

View File

@ -2363,7 +2363,10 @@ DBCellWriteFile(cellDef, f)
* plane being searched.
*/
arg.wa_name = cellDef->cd_file;
if (cellDef->cd_file)
arg.wa_name = cellDef->cd_file;
else
arg.wa_name = cellDef->cd_name;
arg.wa_file = f;
arg.wa_reducer = reducer;
for (type = TT_PAINTBASE; type < DBNumUserLayers; type++)