mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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];
|
||||
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];
|
||||
|
|
Loading…
Reference in a new issue