mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-27 02:31:10 -06:00
Fix alpha legacy dir detection, Fix SemVer value ctor
This commit is contained in:
parent
bdaf1b01be
commit
d671e06c32
4 changed files with 24 additions and 6 deletions
|
|
@ -620,7 +620,7 @@ semver_numeric (semver_t *x) {
|
|||
return num;
|
||||
}
|
||||
|
||||
static char *semver_strdup(const char *src) {
|
||||
char *semver_strdup(const char *src) {
|
||||
if (src == NULL) return NULL;
|
||||
size_t len = strlen(src) + 1;
|
||||
char *res = malloc(len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue