Converted some spaces to tabs.
svn-id: r30225
This commit is contained in:
parent
610880dc67
commit
2147f59e36
3 changed files with 6 additions and 6 deletions
|
@ -85,7 +85,7 @@ void drawThickLine(int x0, int y0, int x1, int y1, int thickness, int color, voi
|
||||||
float d = (float)sqrt(dx * dx + dy * dy);
|
float d = (float)sqrt(dx * dx + dy * dy);
|
||||||
|
|
||||||
if (!d)
|
if (!d)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int thickX = (int)((float)thickness * dy / d / 2);
|
int thickX = (int)((float)thickness * dy / d / 2);
|
||||||
int thickY = (int)((float)thickness * dx / d / 2);
|
int thickY = (int)((float)thickness * dx / d / 2);
|
||||||
|
|
|
@ -108,15 +108,15 @@ void ThemeBrowser::updateListing() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MACOSX
|
#ifdef MACOSX
|
||||||
CFURLRef resourceUrl = CFBundleCopyResourcesDirectoryURL(CFBundleGetMainBundle());
|
CFURLRef resourceUrl = CFBundleCopyResourcesDirectoryURL(CFBundleGetMainBundle());
|
||||||
if (resourceUrl) {
|
if (resourceUrl) {
|
||||||
char buf[256];
|
char buf[256];
|
||||||
if (CFURLGetFileSystemRepresentation(resourceUrl, true, (UInt8 *)buf, 256)) {
|
if (CFURLGetFileSystemRepresentation(resourceUrl, true, (UInt8 *)buf, 256)) {
|
||||||
Common::String resourcePath = buf;
|
Common::String resourcePath = buf;
|
||||||
addDir(_themes, resourcePath, 0);
|
addDir(_themes, resourcePath, 0);
|
||||||
}
|
}
|
||||||
CFRelease(resourceUrl);
|
CFRelease(resourceUrl);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (ConfMan.hasKey("extrapath"))
|
if (ConfMan.hasKey("extrapath"))
|
||||||
|
|
|
@ -573,7 +573,7 @@ void FlacInputStream::convertBuffersGeneric(SampleType* bufDestination, const FL
|
||||||
}
|
}
|
||||||
|
|
||||||
inline ::FLAC__StreamDecoderWriteStatus FlacInputStream::callbackWrite(const ::FLAC__Frame *frame, const FLAC__int32 * const buffer[]) {
|
inline ::FLAC__StreamDecoderWriteStatus FlacInputStream::callbackWrite(const ::FLAC__Frame *frame, const FLAC__int32 * const buffer[]) {
|
||||||
assert(frame->header.channels == _streaminfo.channels);
|
assert(frame->header.channels == _streaminfo.channels);
|
||||||
assert(frame->header.sample_rate == _streaminfo.sample_rate);
|
assert(frame->header.sample_rate == _streaminfo.sample_rate);
|
||||||
assert(frame->header.bits_per_sample == _streaminfo.bits_per_sample);
|
assert(frame->header.bits_per_sample == _streaminfo.bits_per_sample);
|
||||||
assert(frame->header.number_type == FLAC__FRAME_NUMBER_TYPE_SAMPLE_NUMBER || _streaminfo.min_blocksize == _streaminfo.max_blocksize);
|
assert(frame->header.number_type == FLAC__FRAME_NUMBER_TYPE_SAMPLE_NUMBER || _streaminfo.min_blocksize == _streaminfo.max_blocksize);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue