mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[rbuild] Fix wrapping of long lines in generated makefile
svn path=/trunk/; revision=42329
This commit is contained in:
parent
b779385488
commit
85161ab551
1 changed files with 6 additions and 0 deletions
|
@ -164,7 +164,10 @@ v2s ( const Backend* backend, const vector<FileLocation>& files, int wrap_at )
|
||||||
{
|
{
|
||||||
const FileLocation& file = files[i];
|
const FileLocation& file = files[i];
|
||||||
if ( wrap_at > 0 && wrap_count++ == wrap_at )
|
if ( wrap_at > 0 && wrap_count++ == wrap_at )
|
||||||
|
{
|
||||||
s += " \\\n\t\t";
|
s += " \\\n\t\t";
|
||||||
|
wrap_count = 1;
|
||||||
|
}
|
||||||
else if ( s.size() )
|
else if ( s.size() )
|
||||||
s += " ";
|
s += " ";
|
||||||
s += backend->GetFullName ( file );
|
s += backend->GetFullName ( file );
|
||||||
|
@ -185,7 +188,10 @@ v2s ( const string_list& v, int wrap_at )
|
||||||
if ( !v[i].size() )
|
if ( !v[i].size() )
|
||||||
continue;
|
continue;
|
||||||
if ( wrap_at > 0 && wrap_count++ == wrap_at )
|
if ( wrap_at > 0 && wrap_count++ == wrap_at )
|
||||||
|
{
|
||||||
s += " \\\n\t\t";
|
s += " \\\n\t\t";
|
||||||
|
wrap_count = 1;
|
||||||
|
}
|
||||||
else if ( s.size() )
|
else if ( s.size() )
|
||||||
s += " ";
|
s += " ";
|
||||||
s += v[i];
|
s += v[i];
|
||||||
|
|
Loading…
Reference in a new issue