Rename wine_patch struct field hash to name.

This commit is contained in:
Sebastian Lackner 2014-10-02 19:54:57 +02:00
parent c4b33f044e
commit 4f5b5fa483
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ index a273502..5fa0cd5 100644
}
+struct wine_patch {
+ const char *hash;
+ const char *name;
+ const char *author;
+ const char *title;
+} wine_patch_data[] = {

View File

@ -49,7 +49,7 @@ index ac67290..71e5055 100644
#endif /* __APPLE__ */
+struct wine_patch {
+ const char *hash;
+ const char *name;
+ const char *author;
+ const char *title;
+};
@ -74,9 +74,9 @@ index ac67290..71e5055 100644
+ if (!strcmp( argv[1], "--patches" ))
+ {
+ const struct wine_patch *wine_patch_data = wine_get_patches();
+ for(; wine_patch_data->hash != NULL; wine_patch_data++)
+ for(; wine_patch_data->name != NULL; wine_patch_data++)
+ {
+ printf( "%s :: %s :: %s\n", wine_patch_data->hash, wine_patch_data->author,
+ printf( "%s :: %s :: %s\n", wine_patch_data->name, wine_patch_data->author,
+ wine_patch_data->title );
+ }
+ exit(0);