Ignore:
Timestamp:
Feb 1, 2018, 8:51:51 AM (23 months ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCmBin: fixed stupid bug: replace newline by space while parsing the string block with newline folding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdbin/ROCmBinaries.cpp

    r3687 r3688  
    349349                if (ptr == end || *ptr=='\n')
    350350                {
    351                     if (!newLineFold)
    352                         buf.append("\n");
     351                    buf.append(newLineFold ? " " : "\n");
    353352                    continue;
    354353                }
     
    358357            }
    359358            ptr = lineStart + indent;
    360             if (!newLineFold)
    361                 buf.append("\n");
     359            buf.append(newLineFold ? " " : "\n");
    362360        }
    363361        return buf;
Note: See TracChangeset for help on using the changeset viewer.