A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
optimize the comparaison between characters
[simgrid.git]
/
src
/
surf
/
surf.c
diff --git
a/src/surf/surf.c
b/src/surf/surf.c
index
f4eac31
..
c07e0e5
100644
(file)
--- a/
src/surf/surf.c
+++ b/
src/surf/surf.c
@@
-75,7
+75,7
@@
const char* __surf_get_initial_path(void)
for(i = 0; i<MAX_DRIVE;i++)
{
- if(
root[0]
== disk_drives_letter_table[i][0])
+ if(
toupper(root[0])
== disk_drives_letter_table[i][0])
return disk_drives_letter_table[i];
}