Skip to content

Commit c85eb83

Browse files
committed
missed changes
1 parent 2c09bec commit c85eb83

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

src/external/glfw/src/context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ GLFWAPI void glfwMakeContextCurrent(GLFWwindow* handle)
642642
GLFWAPI GLFWwindow* glfwGetCurrentContext(void)
643643
{
644644
_GLFW_REQUIRE_INIT_OR_RETURN(NULL);
645-
return (GLFWwindow*)_glfwPlatformGetTls(&_glfw.contextSlot);
645+
return (GLFWwindow *)_glfwPlatformGetTls(&_glfw.contextSlot);
646646
}
647647

648648
GLFWAPI void glfwSwapBuffers(GLFWwindow* handle)

src/external/win32_clipboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ unsigned char* Win32GetClipboardImageData(int* width, int* height, unsigned long
276276
// This may be wrong since we might be allocating in a DLL and freeing from another module, the main application
277277
// that may cause heap corruption. We could create a FreeImage function
278278
//
279-
bmpData = (BYTE*)malloc(sizeof(bmpFileHeader) + clipDataSize);
279+
bmpData = (BYTE *)malloc(sizeof(bmpFileHeader) + clipDataSize);
280280
// First we add the header for a bmp file
281281
memcpy(bmpData, &bmpFileHeader, sizeof(bmpFileHeader));
282282
// Then we add the header for the bmp itself + the pixel data

src/raudio.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,11 +1062,7 @@ bool ExportWave(Wave wave, const char *fileName)
10621062
else if (IsFileExtension(fileName, ".wav"))
10631063
{
10641064
drwav wav = { 0 };
1065-
#ifdef __cplusplus
1066-
drwav_data_format format = {};
1067-
#else
10681065
drwav_data_format format = { 0 };
1069-
#endif
10701066

10711067
format.container = drwav_container_riff;
10721068
if (wave.sampleSize == 32) format.format = DR_WAVE_FORMAT_IEEE_FLOAT;

src/rcore.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2335,8 +2335,8 @@ const char *GetApplicationDirectory(void)
23352335
int len = 0;
23362336
#if defined(UNICODE)
23372337
unsigned short widePath[MAX_PATH];
2338-
len = GetModuleFileNameW(NULL, (wchar_t*)widePath, MAX_PATH);
2339-
len = WideCharToMultiByte(0, 0, (wchar_t*)widePath, len, appDir, MAX_PATH, NULL, NULL);
2338+
len = GetModuleFileNameW(NULL, (wchar_t *)widePath, MAX_PATH);
2339+
len = WideCharToMultiByte(0, 0, (wchar_t *)widePath, len, appDir, MAX_PATH, NULL, NULL);
23402340
#else
23412341
len = GetModuleFileNameA(NULL, appDir, MAX_PATH);
23422342
#endif
@@ -2522,7 +2522,7 @@ int MakeDirectory(const char *dirPath)
25222522
// Create final directory
25232523
if (!DirectoryExists(pathcpy)) MKDIR(pathcpy);
25242524
RL_FREE(pathcpy);
2525-
2525+
25262526
// In case something failed and requested directory
25272527
// was not successfully created, return -1
25282528
if (!DirectoryExists(dirPath)) return -1;

0 commit comments

Comments
 (0)