ok
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
Nishi 2026-09-15 05:19:37 +09:00
commit c1ab3af1c1
2 changed files with 5 additions and 5 deletions

3
external/md4c.c generated vendored
View file

@ -24,7 +24,6 @@
*/
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@ -5840,7 +5839,7 @@ md_consume_link_reference_definitions(MD_CTX* ctx)
MD_LINE* lines = (MD_LINE*) (ctx->current_block + 1);
MD_SIZE n_lines = ctx->current_block->n_lines;
MD_SIZE n = 0;
bool inject_hr = false;
int inject_hr = 0;
OFF ignored;
while(n < n_lines) {

View file

@ -178,13 +178,14 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
for(i = 0; i < count; i++) {
wchar_t wpath[MAX_PATH];
char path[MAX_PATH];
char* path;
wsymtbl.DragQueryFileW(hDrop, i, wpath, MAX_PATH);
memset(path, 0, sizeof(path));
WideCharToMultiByte(CP_UTF8, 0, wpath, -1, path, sizeof(path) - 1, NULL, NULL);
path = MwUTF16TextToUTF8Text(wpath);
MwLLDispatch(u->ll, drag_and_drop, path);
free(path);
}
wsymtbl.DragFinish(hDrop);
break;