/*
- Copyright (C) 2000-2007 Paul Davis
+ Copyright (C) 2000-2007 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
*/
-#include <pbd/shortpath.h>
+#include <stdint.h>
+#include "pbd/shortpath.h"
using namespace Glib;
using namespace std;
return path;
}
}
-
+
uint32_t so_far = (len - last_sep);
uint32_t space_for = target_characters - so_far;
res += path.substr (last_sep - space_for, len - last_sep + space_for - 3);
res += "...";
return res;
-
+
}
}