Idiot, DEBUG not debug

main
Michael Hayes 14 years ago
parent cb98f85871
commit 1b8b345504

@ -260,7 +260,7 @@ def maincfilename_find (dirname):
def functions_find (filepath, functiondeps, functions, options):
command = options.compile + ' -c ' + filepath + ' -fdump-tree-cfg-raw -Ddebug > /dev/null'
command = options.compile + ' -c ' + filepath + ' -fdump-tree-cfg-raw -DDEBUG > /dev/null'
if options.debug:
print >> sys.stderr, command
os.system (command)

@ -115,8 +115,8 @@ mmelody_ticker_set (mmelody_t mmelody)
With symbol_fraction = 4, speed = 50, and poll_rate of 200 this
gives a result of 60. */
mmelody->unit_ticks = (mmelody->poll_rate * 60
* MMELODY_BEAT_FRACTION)
mmelody->unit_ticks
= (mmelody->poll_rate * 60 * MMELODY_BEAT_FRACTION)
/ (mmelody->speed * mmelody->symbol_fraction
* MMELODY_DURATION_FRACTION);
}

Loading…
Cancel
Save