From 4f31b3b2b891f87f260c6352b1afae191295636c Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Fri, 23 Oct 2020 18:23:09 +0300 Subject: [PATCH] lsteamclient: Fix end of string check in relative path conversion. --- lsteamclient/steamclient_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsteamclient/steamclient_main.c b/lsteamclient/steamclient_main.c index 9ff979af..9babce07 100644 --- a/lsteamclient/steamclient_main.c +++ b/lsteamclient/steamclient_main.c @@ -164,7 +164,7 @@ bool steamclient_dos_path_to_unix_path(const char *src, char *dst, int is_url) const char *s; char *d; - for(s = src, d = dst; *src; ++s, ++d){ + for(s = src, d = dst; *s; ++s, ++d){ if(*s == '\\') *d = '/'; else