forked from Ivasoft/DSView
fix:demo logic can not load protocol file in windows
This commit is contained in:
@@ -522,7 +522,7 @@ static int reset_dsl_path(struct sr_dev_inst *sdi,uint8_t device_mode ,uint8_t p
|
||||
|
||||
char *str = g_try_malloc0(500);
|
||||
strcpy(str,DS_RES_PATH);
|
||||
memset(dir_str+strlen(dir_str)-strlen("res/"),0,strlen("res/"));
|
||||
memset(str+strlen(str)-strlen("res/"),0,strlen("res/"));
|
||||
strcat(str,"demo/");
|
||||
|
||||
if (pattern_mode != PATTERN_RANDOM)
|
||||
|
||||
Reference in New Issue
Block a user