ObjFW  Diff

Differences From Artifact [a9d9dd698d]:

To Artifact [2490a2fe1b]:


461
462
463
464
465
466
467





468

469
470
471
472
473
474
475
461
462
463
464
465
466
467
468
469
470
471
472

473
474
475
476
477
478
479
480







+
+
+
+
+
-
+







		[super dealloc];
		@throw [OFInvalidFormatException newWithClass: c];
	}

	if ((t = vasprintf(&string, [fmt cString], args)) == -1) {
		c = isa;
		[super dealloc];

		/*
		 * This is only the most likely error to happen. Unfortunately,
		 * there is no good way to check what really happened.
		 */
		@throw [OFInitializationFailedException newWithClass: c];
		@throw [OFOutOfMemoryException newWithClass: c];
	}
	length = t;

	switch (of_string_check_utf8(string, length)) {
		case 1:
			is_utf8 = YES;
			break;