Skip to content

Commit ff15ab1

Browse files
committed
cpplint fixes
1 parent 62eb83a commit ff15ab1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/_pyots/bindings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static PyObject* method_sanitize(PyObject* self, PyObject* args) {
5858
/* process (sanitize) */
5959
bool sanitized;
6060
sanitized = context.Process(&output, in.data(), in.size(), kwFontIndex);
61-
61+
6262
/* check for file modifications */
6363
// TODO(josh-hadley): figure out the right way to do this...ots seems to
6464
// modify *everything*. Currently using very naive approach: basically if

src/_pyots/pyots-context.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ class PyOTSContext: public OTSContext {
3232
if (level > level_)
3333
return;
3434

35-
if (offset > buffsize - 256 ) {
35+
if (offset > buffsize - 256) {
3636
buffsize *= 1.5;
3737
char *tmp_buff = (char *)realloc(buff, buffsize * sizeof(char));
38-
if (tmp_buff == NULL){
38+
if (tmp_buff == NULL) {
3939
printf("Memory error; aborting.\n");
4040
free(buff);
4141
exit(-2);

0 commit comments

Comments
 (0)