source keymap loading through LoadSource
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8634 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -48,9 +48,17 @@ int main(int argc, char **argv)
|
||||
keymap.RestoreSystemDefault();
|
||||
return 0;
|
||||
}
|
||||
|
||||
} else {
|
||||
if (operation == 'o') {
|
||||
return 0;
|
||||
} if (operation == 'l') {
|
||||
entry_ref ref;
|
||||
get_ref_for_path(argv[i], &ref);
|
||||
Keymap keymap;
|
||||
keymap.LoadSource(ref);
|
||||
keymap.Dump();
|
||||
return 0;
|
||||
} else
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user