Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1628)

Side by Side Diff: third_party/qcms/src/iccread.c

Issue 1213403002: [qcms] iccread spaces and tabs: use tabs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* vim: set ts=8 sw=8 noexpandtab: */ 1 /* vim: set ts=8 sw=8 noexpandtab: */
2 // qcms 2 // qcms
3 // Copyright (C) 2009 Mozilla Foundation 3 // Copyright (C) 2009 Mozilla Foundation
4 // Copyright (C) 1998-2007 Marti Maria 4 // Copyright (C) 1998-2007 Marti Maria
5 // 5 //
6 // Permission is hereby granted, free of charge, to any person obtaining 6 // Permission is hereby granted, free of charge, to any person obtaining
7 // a copy of this software and associated documentation files (the "Software"), 7 // a copy of this software and associated documentation files (the "Software"),
8 // to deal in the Software without restriction, including without limitation 8 // to deal in the Software without restriction, including without limitation
9 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 // and/or sell copies of the Software, and to permit persons to whom the Softwar e 10 // and/or sell copies of the Software, and to permit persons to whom the Softwar e
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 invalid_tag_table: 1343 invalid_tag_table:
1344 if (index.tags) 1344 if (index.tags)
1345 free(index.tags); 1345 free(index.tags);
1346 invalid_profile: 1346 invalid_profile:
1347 qcms_profile_release(profile); 1347 qcms_profile_release(profile);
1348 return INVALID_PROFILE; 1348 return INVALID_PROFILE;
1349 } 1349 }
1350 1350
1351 qcms_bool qcms_profile_match(qcms_profile *p1, qcms_profile *p2) 1351 qcms_bool qcms_profile_match(qcms_profile *p1, qcms_profile *p2)
1352 { 1352 {
1353 return memcmp(p1->description, p2->description, sizeof p1->description) == 0 ; 1353 » return memcmp(p1->description, p2->description, sizeof p1->description) == 0;
1354 } 1354 }
1355 1355
1356 const char* qcms_profile_get_description(qcms_profile *profile) 1356 const char* qcms_profile_get_description(qcms_profile *profile)
1357 { 1357 {
1358 return profile->description; 1358 » return profile->description;
1359 } 1359 }
1360 1360
1361 qcms_intent qcms_profile_get_rendering_intent(qcms_profile *profile) 1361 qcms_intent qcms_profile_get_rendering_intent(qcms_profile *profile)
1362 { 1362 {
1363 return profile->rendering_intent; 1363 return profile->rendering_intent;
1364 } 1364 }
1365 1365
1366 qcms_color_space qcms_profile_get_color_space(qcms_profile *profile) 1366 qcms_color_space qcms_profile_get_color_space(qcms_profile *profile)
1367 { 1367 {
1368 return profile->color_space; 1368 return profile->color_space;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 { 1476 {
1477 qcms_profile *profile = NULL; 1477 qcms_profile *profile = NULL;
1478 FILE *file = _wfopen(path, L"rb"); 1478 FILE *file = _wfopen(path, L"rb");
1479 if (file) { 1479 if (file) {
1480 profile = qcms_profile_from_file(file); 1480 profile = qcms_profile_from_file(file);
1481 fclose(file); 1481 fclose(file);
1482 } 1482 }
1483 return profile; 1483 return profile;
1484 } 1484 }
1485 #endif 1485 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698