diff scn2k/scn2kdump.cc @ 52:15a18fbe6f21

* Known bugs added to the README * Code cleaning (0 -> NULL when needed, indentation, spaces, ...)
author thib
date Sat, 18 Apr 2009 18:35:39 +0000
parents d229cce98f50
children 4416cfac86ae
line wrap: on
line diff
--- a/scn2k/scn2kdump.cc
+++ b/scn2k/scn2kdump.cc
@@ -18,18 +18,18 @@
  *
 */
 
-#include<stdlib.h>
-#include<stdarg.h>
-#include<stdio.h>
-#include<string.h>
-#include<string>
-#include<vector>
-#include<map>
+#include <stdlib.h>
+#include <stdarg.h>
+#include <stdio.h>
+#include <string.h>
+#include <string>
+#include <vector>
+#include <map>
 
 using namespace std;
 
-#include"system/file.h"
-#include"system/file_impl.h"
+#include "system/file.h"
+#include "system/file_impl.h"
 
 #include "scn2k.h"
 
@@ -118,8 +118,8 @@ int main(int argc, char** argv) {
 	char* fname;
 	fprintf(stderr,"Dump start\n");
 	while( (fname = archive.ListItem()) != 0) {
-		ARCINFO* info = archive.Find(fname,"");
-		if (info == 0) continue;
+		ARCINFO* info = archive.Find(fname, "");
+		if (info == NULL) continue;
 		char* data = info->CopyRead();
 		char* d = data;
 		char* dend = d + info->Size();