mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 12:23:28 +00:00
[rbuild] Fix wrapping of long lines in generated makefile
svn path=/trunk/; revision=42329
This commit is contained in:
@@ -164,7 +164,10 @@ v2s ( const Backend* backend, const vector<FileLocation>& files, int wrap_at )
|
||||
{
|
||||
const FileLocation& file = files[i];
|
||||
if ( wrap_at > 0 && wrap_count++ == wrap_at )
|
||||
{
|
||||
s += " \\\n\t\t";
|
||||
wrap_count = 1;
|
||||
}
|
||||
else if ( s.size() )
|
||||
s += " ";
|
||||
s += backend->GetFullName ( file );
|
||||
@@ -185,7 +188,10 @@ v2s ( const string_list& v, int wrap_at )
|
||||
if ( !v[i].size() )
|
||||
continue;
|
||||
if ( wrap_at > 0 && wrap_count++ == wrap_at )
|
||||
{
|
||||
s += " \\\n\t\t";
|
||||
wrap_count = 1;
|
||||
}
|
||||
else if ( s.size() )
|
||||
s += " ";
|
||||
s += v[i];
|
||||
|
||||
Reference in New Issue
Block a user