ObjFW  Diff

Differences From Artifact [b5933f5ef1]:

To Artifact [30b931e27d]:


497
498
499
500
501
502
503

504

505
506
507
508
509
510
511
497
498
499
500
501
502
503
504

505
506
507
508
509
510
511
512







+
-
+







	_argv = argv;

	encoding = [OFLocale encoding];

#ifndef OF_NINTENDO_DS
	if (*argc > 0) {
#else
	if (g_envNdsArgvHeader->magic == ENV_NDS_ARGV_MAGIC &&
	if (__system_argv->argvMagic == ARGV_MAGIC && __system_argv->argc > 0) {
	    g_envNdsArgvHeader->argc > 0) {
#endif
		_programName = [[OFString alloc] initWithCString: (*argv)[0]
							encoding: encoding];
		arguments = [[OFMutableArray alloc] init];
		_arguments = arguments;

		for (int i = 1; i < *argc; i++)