diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2011-10-17 18:37:02 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2011-10-17 18:37:02 +0200 |
| commit | 49d7eda284f4a4a62b515f5cbd58bf448cba9f83 (patch) | |
| tree | 7e79985cd42c9931fceef5c2bd046c3d1470893c | |
| parent | 74277776f7249dcfa8ccca4297a4a1d120db97b1 (diff) | |
| download | cgeo-49d7eda284f4a4a62b515f5cbd58bf448cba9f83.zip cgeo-49d7eda284f4a4a62b515f5cbd58bf448cba9f83.tar.gz cgeo-49d7eda284f4a4a62b515f5cbd58bf448cba9f83.tar.bz2 | |
fix NPE, #310
| -rw-r--r-- | main/src/cgeo/geocaching/cgeogpxes.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeogpxes.java b/main/src/cgeo/geocaching/cgeogpxes.java index f19287d..4714049 100644 --- a/main/src/cgeo/geocaching/cgeogpxes.java +++ b/main/src/cgeo/geocaching/cgeogpxes.java @@ -80,7 +80,7 @@ public class cgeogpxes extends FileList<cgGPXListAdapter> { listId = cgList.STANDARD_LIST_ID; } - if (getIntent().getScheme().equals("content")) { + if ("content".equals(getIntent().getScheme())) { new AlertDialog.Builder(this) .setTitle(res.getString(R.string.gpx_import_title)) .setMessage(res.getString(R.string.gpx_import_confirm)) |
