Code Duplication    Length = 8-8 lines in 2 locations

lib/FPDF/src/font/makefont/makefont.php 1 location

@@ 232-239 (lines=8) @@
229
	return rtrim($s);
230
}
231
232
function SaveToFile($file, $s, $mode)
233
{
234
	$f=fopen($file,'w'.$mode);
235
	if(!$f)
236
		die('Can\'t write to file '.$file);
237
	fwrite($f,$s,strlen($s));
238
	fclose($f);
239
}
240
241
function ReadShort($f)
242
{

ufpdf/font/makefont/makefont.php 1 location

@@ 232-239 (lines=8) @@
229
	return rtrim($s);
230
}
231
232
function SaveToFile($file, $s, $mode)
233
{
234
	$f=fopen($file,'w'.$mode);
235
	if(!$f)
236
		die('Can\'t write to file '.$file);
237
	fwrite($f,$s,strlen($s));
238
	fclose($f);
239
}
240
241
function ReadShort($f)
242
{