< prev index next >
src/jdk.jpackage/linux/native/libapplauncher/LinuxPlatform.cpp
Print this page
@@ -79,11 +79,12 @@
return FilePath::IncludeTrailingSeparator(
GetPackageRootDirectory()) + _T("bin");
}
TString LinuxPlatform::GetPackageRuntimeBinDirectory() {
- return FilePath::IncludeTrailingSeparator(GetPackageRootDirectory()) + _T("runtime/bin");
+ return FilePath::IncludeTrailingSeparator(GetPackageRootDirectory())
+ + _T("runtime/bin");
}
void LinuxPlatform::ShowMessage(TString title, TString description) {
printf("%s %s\n", PlatformString(title).toPlatformString(),
PlatformString(description).toPlatformString());
@@ -1015,12 +1016,12 @@
}
return FindXMLChild(root->_next, name);
}
-/* Search for an attribute with the given name and returns the contents. Returns NULL if
- * attribute is not found
+/* Search for an attribute with the given name and returns the contents.
+ * Returns NULL if attribute is not found
*/
TCHAR* FindXMLAttribute(XMLAttribute* attr, const TCHAR* name) {
if (attr == NULL) return NULL;
if (JPACKAGE_STRCMP(attr->_name, name) == 0) return attr->_value;
return FindXMLAttribute(attr->_next, name);
< prev index next >