Skip to content

Commit

Permalink
Adjustment for pull request #21
Browse files Browse the repository at this point in the history
  • Loading branch information
craigsapp committed Nov 26, 2019
1 parent 27b2298 commit 3b56ab4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion include/humlib.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Programmer: Craig Stuart Sapp <[email protected]>
// Creation Date: Sat Aug 8 12:24:49 PDT 2015
// Last Modified: Mon Nov 25 20:49:29 CET 2019
// Last Modified: Tue Nov 26 11:43:33 CET 2019
// Filename: humlib.h
// URL: https://github.com/craigsapp/humlib/blob/master/include/humlib.h
// Syntax: C++11
Expand Down
8 changes: 3 additions & 5 deletions src/GridSlice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ HTp GridSlice::createRecipTokenFromDuration(HumNum duration) {
HumNum dotdur;
if (duration.getNumerator() == 0) {
// if the GridSlice is at the end of a measure, the
// time between the starttime/endtime of the GridSlice should
// time between the starttime/endtime of the GridSlice should
// be subtracted from the endtime of the current GridMeasure.
token = new HumdrumToken("g");
return token;
Expand Down Expand Up @@ -302,10 +302,8 @@ void GridSlice::transferTokens(HumdrumFile& outfile, bool recip) {
} else if (hasSpines()) {
token = new HumdrumToken("55");
empty = "!z";
} else if (!token) {
token = new HumdrumToken();
}
if (hasSpines()) {
}
if ((token != NULL) && hasSpines()) {
line->appendToken(token);
}
}
Expand Down
10 changes: 4 additions & 6 deletions src/humlib.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Programmer: Craig Stuart Sapp <[email protected]>
// Creation Date: Sat Aug 8 12:24:49 PDT 2015
// Last Modified: Mon Nov 25 20:49:29 CET 2019
// Last Modified: Tue Nov 26 11:43:33 CET 2019
// Filename: /include/humlib.cpp
// URL: https://github.com/craigsapp/humlib/blob/master/src/humlib.cpp
// Syntax: C++11
Expand Down Expand Up @@ -5653,7 +5653,7 @@ HTp GridSlice::createRecipTokenFromDuration(HumNum duration) {
HumNum dotdur;
if (duration.getNumerator() == 0) {
// if the GridSlice is at the end of a measure, the
// time between the starttime/endtime of the GridSlice should
// time between the starttime/endtime of the GridSlice should
// be subtracted from the endtime of the current GridMeasure.
token = new HumdrumToken("g");
return token;
Expand Down Expand Up @@ -5765,10 +5765,8 @@ void GridSlice::transferTokens(HumdrumFile& outfile, bool recip) {
} else if (hasSpines()) {
token = new HumdrumToken("55");
empty = "!z";
} else if (!token) {
token = new HumdrumToken();
}
if (hasSpines()) {
}
if ((token != NULL) && hasSpines()) {
line->appendToken(token);
}
}
Expand Down

0 comments on commit 3b56ab4

Please sign in to comment.