Remove TABS
This commit is contained in:
parent
641895b5ba
commit
a886f5e743
@ -871,7 +871,7 @@ void *GetWindowHandle(void)
|
||||
{
|
||||
#if defined(_WIN32)
|
||||
// NOTE: Returned handle is: void *HWND (windows.h)
|
||||
return glfwGetWin32Window(window);
|
||||
return glfwGetWin32Window(window);
|
||||
#elif defined(__linux__)
|
||||
// NOTE: Returned handle is: unsigned long Window (X.h)
|
||||
// typedef unsigned long XID;
|
||||
@ -2213,7 +2213,7 @@ void SetMouseOffset(int offsetX, int offsetY)
|
||||
// NOTE: Useful when rendering to different size targets
|
||||
void SetMouseScale(float scaleX, float scaleY)
|
||||
{
|
||||
mouseScale = (Vector2){ scaleX, scaleY };
|
||||
mouseScale = (Vector2){ scaleX, scaleY };
|
||||
}
|
||||
|
||||
// Returns mouse wheel movement Y
|
||||
|
@ -1406,8 +1406,8 @@ void UpdateMusicStream(Music music)
|
||||
UpdateAudioStream(music->stream, pcm, samplesCount);
|
||||
if ((music->ctxType == MUSIC_MODULE_XM) || (music->ctxType == MUSIC_MODULE_MOD))
|
||||
{
|
||||
if (samplesCount > 1) music->samplesLeft -= samplesCount/2;
|
||||
else music->samplesLeft -= samplesCount;
|
||||
if (samplesCount > 1) music->samplesLeft -= samplesCount/2;
|
||||
else music->samplesLeft -= samplesCount;
|
||||
}
|
||||
else music->samplesLeft -= samplesCount;
|
||||
|
||||
|
@ -644,7 +644,7 @@ bool CheckCollisionCircleRec(Vector2 center, float radius, Rectangle rec)
|
||||
if (dy <= (rec.height/2.0f)) { return true; }
|
||||
|
||||
float cornerDistanceSq = (dx - rec.width/2.0f)*(dx - rec.width/2.0f) +
|
||||
(dy - rec.height/2.0f)*(dy - rec.height/2.0f);
|
||||
(dy - rec.height/2.0f)*(dy - rec.height/2.0f);
|
||||
|
||||
return (cornerDistanceSq <= (radius*radius));
|
||||
}
|
||||
|
@ -1386,10 +1386,10 @@ static Font LoadBMFont(const char *fileName)
|
||||
char *lastSlash = NULL;
|
||||
|
||||
lastSlash = strrchr(fileName, '/');
|
||||
if (lastSlash == NULL)
|
||||
{
|
||||
lastSlash = strrchr(fileName, '\\');
|
||||
}
|
||||
if (lastSlash == NULL)
|
||||
{
|
||||
lastSlash = strrchr(fileName, '\\');
|
||||
}
|
||||
|
||||
// NOTE: We need some extra space to avoid memory corruption on next allocations!
|
||||
texPath = malloc(strlen(fileName) - strlen(lastSlash) + strlen(texFileName) + 4);
|
||||
|
@ -1631,7 +1631,7 @@ Color *ImageExtractPalette(Image image, int maxPaletteSize, int *extractCount)
|
||||
if (palCount >= maxPaletteSize)
|
||||
{
|
||||
i = image.width*image.height; // Finish palette get
|
||||
printf("WARNING: Image palette is greater than %i colors!\n", maxPaletteSize);
|
||||
TraceLog(LOG_WARNING, "Image palette is greater than %i colors!", maxPaletteSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user