summaryrefslogtreecommitdiff
path: root/lsp.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-12 22:35:09 -0500
committerpommicket <pommicket@gmail.com>2023-01-12 22:35:29 -0500
commit1b318330c94a19b922d05b6fac19f6a4a59d248a (patch)
tree60ad90ff82c182435abd37aac6f791b97fd42c98 /lsp.c
parent024fd444d673be63ac23fc83481a8fe624127cbf (diff)
[2.0] minor windows path-related fixes, windows installer version
Diffstat (limited to 'lsp.c')
-rw-r--r--lsp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lsp.c b/lsp.c
index a23e7e8..9617f6d 100644
--- a/lsp.c
+++ b/lsp.c
@@ -482,12 +482,6 @@ u32 lsp_document_id(LSP *lsp, const char *path) {
*value = id;
LSPDocumentData *data = arr_addp(lsp->document_data);
data->path = str_dup(path);
- #if _WIN32
- // file URIs use slashes: https://en.wikipedia.org/wiki/File_URI_scheme
- for (char *p = data->path; *p; ++p)
- if (*p == '\\')
- *p = '/';
- #endif
}
u32 id = *value;
SDL_UnlockMutex(lsp->document_mutex);