Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(606)

Unified Diff: lily/spanner.cc

Issue 549480043: Run scripts/auxiliar/fixcc.py (Closed)
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/spacing-spanner.cc ('k') | lily/spring-smob.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/spanner.cc
diff --git a/lily/spanner.cc b/lily/spanner.cc
index 2a54305905cea2b3611483fa7ab393d6e9b9d849..874610e992fd8949d378bc8e7c40aacc5f533445 100644
--- a/lily/spanner.cc
+++ b/lily/spanner.cc
@@ -337,7 +337,7 @@ Spanner::derived_mark () const
// If break_index_ is -1, broken_intos_ might not yet have run its
// constructor and any access might break things.
- if (break_index_ != (vsize)-1)
+ if (break_index_ != (vsize) - 1)
for (vsize i = broken_intos_.size (); i--;)
scm_gc_mark (broken_intos_[i]->self_scm ());
}
@@ -365,7 +365,7 @@ Spanner::set_spacing_rods (SCM smob)
SCM num_length = me->get_property ("minimum-length");
SCM broken_length = me->get_property ("minimum-length-after-break");
if (scm_is_number (num_length)
- || scm_is_number (broken_length))
+ || scm_is_number (broken_length))
{
Spanner *sp = dynamic_cast<Spanner *> (me);
System *root = get_root_system (me);
@@ -395,8 +395,8 @@ Spanner::set_spacing_rods (SCM smob)
changed value), we cannot directly reset r.distance_ to
broken_length.
*/
- r.distance_ += robust_scm2double (broken_length, 0) -
- robust_scm2double (num_length, 0);
+ r.distance_ += robust_scm2double (broken_length, 0)
+ - robust_scm2double (num_length, 0);
r.add_to_cols ();
}
@@ -537,7 +537,7 @@ Spanner::get_cached_pure_property (SCM sym, vsize start, vsize end)
return SCM_UNDEFINED;
return scm_hash_ref (pure_property_cache_,
- make_pure_property_cache_key(sym, start, end),
+ make_pure_property_cache_key (sym, start, end),
SCM_UNDEFINED);
}
@@ -548,7 +548,7 @@ Spanner::cache_pure_property (SCM sym, vsize start, vsize end, SCM val)
pure_property_cache_ = scm_c_make_hash_table (17);
scm_hash_set_x (pure_property_cache_,
- make_pure_property_cache_key(sym, start, end),
+ make_pure_property_cache_key (sym, start, end),
val);
}
« no previous file with comments | « lily/spacing-spanner.cc ('k') | lily/spring-smob.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b